install kubectl ubuntu 1

install kubectl ubuntu

curl -LO
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