kubectl check version code example
Example 1: check kubectl version
#Just type in following to check kubectl version:
kubectl version
#Yeah, that easy!
Example 2: kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
Example 3: kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/windows/amd64/kubectl.exe