A developer is connecting to a Tanzu Kubernetes Cluster using the kubectl vsphere login command
Which information must be specified, in addition to both the name of the cluster and the Supervisor Cluster Control Wane IP?
The path to the existing kubeconfig file and the SSO Username
The path to the existing kubeconfig file and the Token D for the SSO credentials
The name of the Supervisor Namespace and the Token ID for the SSO credentials
The name of the Supervisor Namespace and the SSO Username
To connect to the Supervisor Cluster, run the following command.
kubectl vsphere login --server=SUPERVISOR-CLUSTER-CONTROL-PLANE-IP
--tanzu-kubernetes-cluster-name TANZU-KUBERNETES-CLUSTER-NAME
--tanzu-kubernetes-cluster-namespace SUPERVISOR-NAMESPACE-WHERE-THE-CLUSTER-IS-DEPLOYED
--vsphere-username VCENTER-SSO-USER-NAME
For example:
kubectl vsphere login --server=10.92.42.137
--tanzu-kubernetes-cluster-name tanzu-kubernetes-cluster-01
--tanzu-kubernetes-cluster-namespace tanzu-ns-1
--vsphere-username administrator@example.com
Submit