Created
June 7, 2018 01:10
-
-
Save phillipsj/c56589e7843cdc5a43b5b7d3654da1ab to your computer and use it in GitHub Desktop.
Getting tools for using EKS
This file contains hidden or 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
## Gets kubectl | |
echo "Fetching kubectl..." | |
kubectlUrl="https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" | |
curl -o kubectl "$kubectlUrl" | |
echo "Making kubectl executable..." | |
chmod +x ./kubectl | |
echo "Moving kubectl to /usr/local/bin..." | |
sudo sudo mv ./kubectl /usr/local/bin/kubectl | |
## Get Heptio Authenticator for AWS | |
echo "Fetching heptio-authenticator-aws..." | |
heptioUrl="https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-06-05/bin/linux/amd64/heptio-authenticator-aws" | |
curl -o heptio-authenticator-aws "$heptioUrl" | |
echo "Making heptio-authenticator-aws executable..." | |
chmod +x ./heptio-authenticator-aws | |
echo "Moving heptio-authenticator-aws to /usr/local/bin..." | |
sudo mv ./heptio-authenticator-aws /usr/local/bin/heptio-authenticator-aws | |
## Gets the AWS CLI tools | |
echo "Installing AWS CLI tools..." | |
pip install awscli --upgrade --user | |
echo "Finished" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment