...

/

Accessing the Cluster as a User

Accessing the Cluster as a User

Learn how to impersonate the new user John and try to get the access authenticated.

Authentication

Since John is not around, we’ll do some role-playing and impersonate him.

Configuring kubectl

We’ll first have to set the cluster using the address and the certificate authority we sent John.

Press + to interact
kubectl config set-cluster jdoe \
--certificate-authority \
/usercode/certs/keys/server-ca.crt \
--server $SERVER

We create a new cluster called jdoe.

Please note that the command we executed created just another ...

Access this course and 1400+ top-rated courses and projects.