ExamGecko
Question list
Search
Search

Question 21 - 5V0-23.20 discussion

Report
Export

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

A.
vmwarectl login --server-<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphere-username<VCENTER-SSO-USER>
Answers
A.
vmwarectl login --server-<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphere-username<VCENTER-SSO-USER>
B.
kubectl vsphere login --server=<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphereusername<vcENTER-SSO-USER>
Answers
B.
kubectl vsphere login --server=<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphereusername<vcENTER-SSO-USER>
C.
vmwarectl vsphere login --server—<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphereusername<VCENTER-SSO-USER>
Answers
C.
vmwarectl vsphere login --server—<KUBERNETES-CONTROL-PLANE-IP-ADDRESS> --vsphereusername<VCENTER-SSO-USER>
D.
kubectl login --server=<KUBERNETES-CONTROL-PLANE-lP-ADDRESS> --vsphere-username<VCENTER-SSO-USER>
Answers
D.
kubectl login --server=<KUBERNETES-CONTROL-PLANE-lP-ADDRESS> --vsphere-username<VCENTER-SSO-USER>
Suggested answer: B

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.

asked 16/09/2024
Edmond Chui
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first