You can use Kubernetes CLI Tools for vSphere to view and control vSphere with Tanzu namespaces and clusters.
The Kubernetes CLI Tools download package includes two executables: the standard open-source kubectl and the vSphere Plugin for kubectl. The kubectl CLI has a pluggable architecture. The vSphere Plugin for kubectl extends the commands available to kubectl so that you connect to the Supervisor Cluster and to Tanzu Kubernetes clusters using vCenter Single Sign-On credentials.
Note: As a best practice, once you have performed a
vSphere Namespace update and upgraded the
Supervisor Cluster, update the
vSphere Plugin for kubectl. See
Update the vSphere Plugin for kubectl.
Prerequisites
- Get the link for the Kubernetes CLI Tools download page from your vSphere administrator.
- Alternatively, if you have access to the vCenter Server, get the link as follows:
- Log in to the vCenter Server using the vSphere Client.
- Navigate to vSphere Namespace where you are working. In the example shown below, this is the "tkgs-ns" namespace that we created for our Tanzu Kubernetes clusters. and select the
- Select the tab and locate the area on this page.
- Select Open beneath the heading to open the download page. Or, you can Copy the link.