This topic describes how to install the Kubernetes Command Line Interface (kubectl).
Kubernetes provides the kubectl command line tool for communicating with a Kubernetes cluster’s control plane, using the Kubernetes API.
For more information about kubectl, see Command line tool (kubectl) in the Kubernetes documentation.
To download and install kubectl, complete the steps in Install the Kubernetes CLI below.
Note: Kubernetes CLI binaries are only provided for 64-bit architectures.
To download and install the Kubernetes CLI:
To download the TKGI CLI for your operating system:
To install the Kubernetes CLI, follow the procedures for your operating system:
To install the Kubernetes CLI on Mac OS X:
kubectl
.$ chmod +x kubectl
PATH
. For example: $ mv kubectl /usr/local/bin/kubectl
To install the Kubernetes CLI on Linux:
kubectl
.$ chmod +x kubectl
PATH
. For example: $ mv kubectl /usr/local/bin/kubectl
To install the Kubernetes CLI on Microsoft Windows:
kubectl.exe
.PATH
.