kops: Outdated docs for installation (command not found)
1. What commands did you run? What is the simplest way to reproduce this issue? I tried to run the installation script that’s in the Readme for Linux.
curl -LO 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-linux-amd64
sudo mv kops-linux-amd64 /usr/local/bin/kops
2. What happened after the commands executed?
I received this error message
/usr/local/bin/kops: line 1: Not: command not found
Which made me believe that the curl command was pointing to an outdated location.
3. What did you expect to happen? I expected to download kops with no issues
4. Anything else do we need to know? I was able to manually do it just doing a wget of the latest package - not sure how y’all want to approach this 😄
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (4 by maintainers)
Yep I ran into the same issue, only solution I found was finding the latest version by hand and putting that in the command instead of CURLing for it.