nerdexam
Broadcom-VMware

5V0-23.20 · Question #2

Which command should be used by a developer to log in to the vSphere with Tanzu Supervisor Cluster?

The correct answer is B. kubectl vsphere login --server=<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphere-. 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…

Administer and Operate VMware HCI

Question

Which command should be used by a developer to log in to the vSphere with Tanzu Supervisor Cluster?

Options

  • Avmwarectl login --server-<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphere-
  • Bkubectl vsphere login --server=<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphere-
  • Cvmwarectl vsphere login --server--<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphere-
  • Dkubectl login --server=<KUBERNETES-CONTROL-PLANE-lP-ADDRESS> --vsphere-username

How the community answered

(64 responses)
  • A
    6% (4)
  • B
    70% (45)
  • C
    5% (3)
  • D
    19% (12)

Explanation

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.

Topics

#kubectl vsphere login#Supervisor Cluster#Tanzu CLI#authentication

Community Discussion

No community discussion yet for this question.

Full 5V0-23.20 Practice