docs/examples/basic-requirements.md
Before rushing-in to replicate any of the exercises, please ensure your basic environment is correctly set-up. See KOPS AWS tutorial for more information.
Basic requirements:
pip (python package manager) to install by running pip install awscli command from your local terminal. Your choice!~/.ssh/id_rsa / id_rsa.pub. You can generate it using ssh-keygen command if you don't have one already: ssh-keygen -t rsa -f ~/.ssh/id_rsa -P "".Using root to set up the utilities for all users on that machine (either ssh directly to root or switch to is by running sudo su -):
cd ~
curl -LO https://dl.k8s.io/release/$(curl -s -L https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl
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 755 kubectl kops-linux-amd64
mv kops-linux-amd64 kops
mv kubectl kops /usr/local/bin
Alternatively, if you don't have root access and/or wish to keep the kops/kubectl utilities in your local profile:
cd ~
curl -LO https://dl.k8s.io/release/$(curl -s -L https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl
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 755 kubectl kops-linux-amd64
mv kops-linux-amd64 kops
mkdir ~/bin
export PATH=$PATH:~/bin
mv kubectl kops ~/bin
Finally, some of our exercises use the jq utility which is available on modern linux distributions. Please ensure to install it as well.