Focus on obtaining the kubectl config file in Tanzu Kubernetes environment. Learn about the kubectl vsphere login command and the vSphere UI method.
Table of Contents
Question
Which two are valid options for obtaining kubectl config file in Tanzu Kubernetes environment? (Choose two.)
A. Use the command kubectl vsphere login
B. Download from vSphere UI
C. Download on the Supervisor Cluster Webpage
D. Access from vCenter Server Appliance Management Interface
E. Access from VMware Tanzu Mission Control
Answer
A. Use the command kubectl vsphere login
B. Download from vSphere UI
Explanation
Option A is correct because the kubectl vsphere login command is used to log in to a Supervisor Cluster in the Tanzu Kubernetes environment. This command generates a kubeconfig context that points to the Supervisor Cluster’s Kubernetes API server.
Option B is correct because the kubeconfig file can be downloaded directly from the vSphere UI. In the vSphere UI, you can navigate to the Supervisor Cluster object, where you’ll find an option to download the kubeconfig file.
Options C, D, and E are not valid methods for obtaining the kubeconfig file in a Tanzu Kubernetes environment.
VMware 2V0-71.23 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the VMware 2V0-71.23 exam and earn VMware 2V0-71.23 certification.