I am using Kops to setup my Kubernetes cluster.
This is how, I installed kops,
wget https://github.com/kubernetes/kops/releases/download/1.6.1/kops-linux-amd64
chmod +x kops-linux-amd64
sudo mv kops-linux-amd64 /usr/local/bin/kopsMy Kubernetes cluster is pretty old. Now, I want to upgrade it to latest version. I know that kops upgrade cluster works to upgrade the Kubernetes. But, before upgrading the Kubernetes, I want to make sure that my Kops version is latest.
Should I just remove running kops, that is
rm -rf /usr/local/bin/kopsthen download the latest release and place it in /usr/local/bin/
wget https://github.com/kubernetes/kops/releases/download/1.11.0/kops-darwin-amd64
chmod +x kops-darwin-amd64
sudo mv kops-darwin-amd64 /usr/local/bin/kopsIs the above procedure correct ? If not, then what is the recommended way to upgrade the Kops ?
Since you're using mac try,
brew upgrade kopswget https://github.com/kubernetes/kops/releases/download/1.11.0/kops-darwin-amd64 chmod +x kops-darwin-amd64 sudo mv kops-darwin-amd64 /usr/local/bin/kops
Here is a mistake you use kops-darwin-amd64 but you should use
wget https://github.com/kubernetes/kops/releases/download/1.11.0/kops-linux-amd64instead.