Skip to content

Instantly share code, notes, and snippets.

@rgeraskin
Last active April 16, 2023 03:37
Show Gist options
  • Select an option

  • Save rgeraskin/eceec7c7e3a612cbf7e2d58cea097131 to your computer and use it in GitHub Desktop.

Select an option

Save rgeraskin/eceec7c7e3a612cbf7e2d58cea097131 to your computer and use it in GitHub Desktop.
# common
sudo apt update
sudo apt install -y git
# docker
curl -sL get.docker.io | bash
sudo usermod -aG docker $(whoami)
# 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
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
echo "alias k=kubectl" >> .bashrc
echo "source <(kubectl completion bash)" >> .bashrc
echo "source <(kubectl completion bash | sed 's/kubectl/k/g')" >> .bashrc
# helm
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
wget https://github.com/mozilla/sops/releases/download/v3.7.2/sops_3.7.2_amd64.deb -O sops.deb
sudo dpkg -i sops.deb && rm sops.deb
wget https://github.com/FiloSottile/age/releases/download/v1.0.0/age-v1.0.0-linux-amd64.tar.gz -O age.tgz
tar -xzvf age.tgz
sudo mv age/age /usr/local/bin/
rm -rf age age.tgz
# k3d
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
# yq
curl -L https://github.com/mikefarah/yq/releases/download/v4.26.1/yq_linux_amd64 -O
chmod +x yq_linux_amd64
sudo mv yq_linux_amd64 /usr/bin/yq
# k9s
curl -L https://github.com/derailed/k9s/releases/download/v0.26.0/k9s_Linux_x86_64.tar.gz -O
tar -xzvf k9s_Linux_x86_64.tar.gz
chmod +x k9s
sudo mv k9s /usr/bin/
rm -f k9s_Linux_x86_64.tar.gz README.md LICENSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment