kubectl
kubectl (pronounced as “kube control”) is a command-line tool for interacting with a Kubernetes cluster. Kubernetes is an open-source platform designed to automate the deployment, scaling, and management of containerized applications. kubectl provides the primary CLI interface to Kubernetes and allows users to deploy applications, inspect and manage cluster resources, and view logs.
Install kubectl
Download the latest release:
user:~$ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
Install
kubectl
:user:~$ sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
Verify
To verify the installation, run the following command:
```console
user:~$ kubectl version --client
```