Last active
August 28, 2020 14:14
-
-
Save pcolazurdo/2350e68459ab2c1fd758c2da04be3610 to your computer and use it in GitHub Desktop.
Install and/or update EKS commands automatically
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script will update the key CLI tools for managing EKS | |
eksctl version | |
curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp | |
sudo mv /tmp/eksctl /usr/local/bin | |
eksctl version | |
kubectl version -o json | jq -r '.clientVersion.major + "." + .clientVersion.minor' | |
curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" | |
chmod +x ./kubectl | |
sudo mv ./kubectl /usr/local/bin/kubectl | |
kubectl version -o json | jq -r '.clientVersion.major + "." + .clientVersion.minor' | |
helm version --template="{{ .Version }} " | |
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | |
chmod 700 get_helm.sh | |
./get_helm.sh | |
helm version --template="{{ .Version }} " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment