Amazon EKS clusters require kubectl
and kubelet
binaries and the aws-cli
or aws-iam-authenticator
binary to allow IAM authentication for your Kubernetes cluster.
We will give you the commands to download the Linux binaries. If you are running Mac OSX / Windows, please see the official EKS docs for the download links.
sudo curl --silent --location -o /usr/local/bin/kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/linux/amd64/kubectl
sudo chmod +x /usr/local/bin/kubectl
kubectl version --short --client
Upgrade AWS CLI according to guidance in AWS documentation.
sudo pip install --upgrade awscli && hash -r
sudo yum -y install jq gettext bash-completion
for command in kubectl jq envsubst aws
do
which $command &>/dev/null && echo "[x] $command in path" || echo "[ ] $command NOT FOUND"
done
kubectl completion bash >> ~/.bash_completion
. /etc/profile.d/bash_completion.sh
. ~/.bash_completion
curl -sSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
helm version --short
Helm Chart
Repositoryhelm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm search repo stable
helm completion bash >> ~/.bash_completion
. /etc/profile.d/bash_completion.sh
. ~/.bash_completion
source <(helm completion bash)