Stay updated with our latest articles, subscribe to our newsletter
Linux Or Windows using Gitbash or similar tool
Download the binary
wget https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kubectl
Make it executable
chmod +x kubectl
Move to the Bin directory
sudo mv kubectl /usr/local/bin/
Verify that kubectl
version 1.21.0 or higher is installed:
kubectl version --client
Output:
Client Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.4-dirty", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"dirty", BuildDate:"2021-03-15T10:03:32Z", GoVersion:"go1.16.2", Compiler:"gc", Platform:"darwin/amd64"}
Total Views 323 , and 1 views today
Segun
Liked this article?
Stay updated with our latest articles, subscribe to our newsletter