Skip to content

Instantly share code, notes, and snippets.

@mschirbel
Last active September 22, 2019 02:10
Show Gist options
  • Save mschirbel/3faa2ce4e97f9b89883e1e6fb6ab3bf9 to your computer and use it in GitHub Desktop.
Save mschirbel/3faa2ce4e97f9b89883e1e6fb6ab3bf9 to your computer and use it in GitHub Desktop.
Update script for some devops tools
#!/bin/bash
apt update -y
apt install git curl wget vim
## install docker
curl -fsSL https://get.docker.com/ | bash
## install kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
## install helm
curl -L https://git.io/get_helm.sh | bash
## install kops
curl -Lo kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64
chmod +x ./kops
sudo mv ./kops /usr/local/bin/
## install python and aws-cli
sudo apt install python3 python3-pip -y
pip3 install awscli --user
## install ansible
sudo apt install ansible -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment