This project provides the Arch Linux package building instructions for the VMware vSphere plugin for kubectl. VMware vSphere for kubectl is a plugin to help you authenticate with the Supervisor Cluster and Tanzu Kubernetes clusters using your vCenter Single Sign-On credentials.
- You need to have a setup VMware vSphere Tanzu Kubernetes cluster from where you can download the binaries.
- This package is for Arch Linux systems, so you need that :P
- You need to have everything installed in order to build an AUR package (see Arch User Repository Prerequisites).
- Download the ZIP file with the binaries and also the sha256 sums file from your vSphere cluster at
https://<YOUR-TANZU-CLUSTER-IP>
or directly with the following links:https://<YOUR-TANZU-CLUSTER-IP>/wcp/plugin/linux-amd64/vsphere-plugin.zip
https://<YOUR-TANZU-CLUSTER-IP>/wcp/plugin/linux-amd64/sha256sum.txt
- Move the two files
vsphere-plugin.zip
andsha256sum.txt
into this directory. - Run
make install
or runmakepkg -si
yourself.
- To verify the installation of the kubectl CLI, start a shell, terminal, or command prompt session and run the command
kubectl
. You see the kubectl banner message, and the list of command-line options for the CLI. - To verify the installation of the vSphere Plugin for kubectl, run the command
kubectl vsphere
. You see the vSphere Plugin for kubectl banner message, and the list of command-line options for the plugin. - Run the command
kubectl vsphere login --server=<IP_or_master_hostname>
to log in to server - Run the command
kubectl config get-contexts
to view a list of your Namespaces - Run the command
kubectl config use-context <context>
to choose your default context