Updating kops (Binaries)

MacOS

From Homebrew:

  1. brew update && brew upgrade kops

From Github:

  1. rm -rf /usr/local/bin/kops
  2. 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
  3. chmod +x ./kops
  4. sudo mv ./kops /usr/local/bin/

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

Linux

From Github:

  1. rm -rf /usr/local/bin/kops
  2. 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
  3. chmod +x ./kops
  4. sudo mv ./kops /usr/local/bin/

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