Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 886 Bytes

update_kops.md

File metadata and controls

33 lines (23 loc) · 886 Bytes

Updating kops (Binaries)

MacOS

From Homebrew:

brew update && brew upgrade kops

From Github:

rm -rf /usr/local/bin/kops
wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-darwin-amd64
chmod +x ./kops
sudo mv ./kops /usr/local/bin/

You can also rerun rerun these steps if previously built from source.

Linux

From Github:

rm -rf /usr/local/bin/kops
wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64
chmod +x ./kops
sudo mv ./kops /usr/local/bin/

You can also rerun rerun these steps if previously built from source.