install kubectl ubuntu 1

install kubectl ubuntu

curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
kubectl version --client

Here is what the above code is Doing:
1. Download the latest version of kubectl
2. Make the kubectl binary executable
3. Move the kubectl executable to your PATH
4. Check the version of kubectl

Similar Posts