Last active
June 22, 2018 19:09
-
-
Save phillipsj/1751ebebcc9bde4ae9b2ef8751694a8d to your computer and use it in GitHub Desktop.
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 | |
## Get Helm | |
echo "Fetching Helm..." | |
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh | |
chmod 700 get_helm.sh | |
sudo ./get_helm.sh | |
## Gets the AWS CLI tools | |
echo "Installing AWS CLI tools..." | |
pip3 install awscli --upgrade --user | |
echo "Finished" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment