Which command should be used by a developer to log in to the vSphere with Tanzu Supervisor Cluster?
Authenticating Using kubectl
In vSphere with Tanzu, authentication is performed using vCenter Single Sign-On. You run the command kubectl vsphere login to authenticate a user through vCenter Single Sign-On to Kubernetes clusters.
kubectl vsphere login --server <kubernetes control plane> -u <username>
The --insecure-skip-tls-verify flag is required if the certificate presented by the vSphere with Tanzu control plane is not trusted by the client machine. The control plane is signed by the vCenter Server VMware CA by default. You can replace the control plane certificate with a trusted certificate if needed. Alternatively, install the vCenter Server VMware CA root certificate into your client machine to remove the need for the --insecure-skip-tls-verify flag.
Currently there are no comments in this discussion, be the first to comment!