Exam 2v0-7123 All QuestionsBrowse all questions from this exam
Question 55

Which two are valid options for obtaining kubectl config file in Tanzu Kubernetes environment? (Choose two.)

    Correct Answer: A, B

    To obtain the kubectl config file in a Tanzu Kubernetes environment, you can use the command 'kubectl vsphere login' to authenticate and fetch the configuration file. Additionally, you can download the kubectl config file directly from the vSphere UI, which provides easy access to the necessary configuration details.

Discussion
Jeff3005Options: AD

A -> To provision vSphere Pods, or Tanzu Kubernetes clusters by using the Tanzu Kubernetes Grid Service, you connect to the Supervisor Cluster by using the vSphere Plugin for kubectl and authenticate with your vCenter Single Sign-On credentials D -> To use kubectl and tmc (the Tanzu Mission Control CLI) with a provisioned cluster, download the generated configuration file and initialize the connection. After you have attached or provisioned a new cluster using Tanzu Mission Control, you can connect to it with kubectl using the configuration file that Tanzu Mission Control generates for you.