Getting started with AWS¶
Prerequisites¶
This assumes you have aws setup.
Install Kubernetes CLI¶
We summarize the official kubectl install instructions here. The following is a script that will install the latest version of kubectl.
mkdir -p "$HOME/tmp/kub"
cd "$HOME/tmp/kub"
STABLE=$(curl -L -s https://dl.k8s.io/release/stable.txt)
curl -LO "https://dl.k8s.io/release/$STABLE/bin/linux/amd64/kubectl"
curl -LO "https://dl.k8s.io/$STABLE/bin/linux/amd64/kubectl.sha256"
echo "$(<kubectl.sha256) kubectl" | sha256sum --check
PREFIX=$HOME/.local
chmod +x kubectl
mkdir -p "$PREFIX"/bin
cp ./kubectl "$PREFIX"/bin/kubectl
# ensure $PREFIX/bin is in the PATH
Test that the install worked:
# Ensure that this works.
kubectl version --client --output=yaml