In this lab, you will use the kubectl vsphere plugin to create a KUBECONFIG file that can be used to authenticate with the Tanzu Kubernetes Grid Service.
From the vCenter console, navigate to the poc namespace created in previous labs and open the link to the Kubernetes Control Plane Endpoint.
Copy the URL from the Kubernetes Control Plane Endpoint.
From the command line, run the following command and replace the [Kubernetes Control Plane Endpoint] value with the URL you copied from Step 1.
kubectl vsphere login --server=[Kuberntes Control Plane Endpoint]- Enter a user who has permissions to this namespace
- Supply the SSO password for this user
Note: You do not need to use the
cloudadminaccount but it should be a user or group that you've assigned permissions to thepocnamespace during the vSphere Namespace Setup Lab.

