Skip to content

Instantly share code, notes, and snippets.

@aborilov
Created December 18, 2020 09:07
Show Gist options
  • Save aborilov/fc8c584d1103fb7d5a69081e3f2e86ec to your computer and use it in GitHub Desktop.
Save aborilov/fc8c584d1103fb7d5a69081e3f2e86ec to your computer and use it in GitHub Desktop.
k8s tools
#!/bin/sh
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
mv kustomize /usr/local/bin/
wget https://github.com/derailed/k9s/releases/download/v0.24.2/k9s_Linux_x86_64.tar.gz
tar -xvzf k9s_Linux_x86_64.tar.gz
chmod +x k9s
mv k9s /usr/local/bin/
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.9.0/kind-linux-amd64
chmod +x ./kind
mv ./kind /usr/local/bin/
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
mv kubectl /usr/local/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment