Skip to content

Instantly share code, notes, and snippets.

@ilhamarrouf
Last active November 3, 2024 12:08
Show Gist options
  • Save ilhamarrouf/9902d6d7057c0976e0d96eb1d9a4fa41 to your computer and use it in GitHub Desktop.
Save ilhamarrouf/9902d6d7057c0976e0d96eb1d9a4fa41 to your computer and use it in GitHub Desktop.
Auto Script Setup k8s Utils
# setup with command $ bash <(curl -s url)
# Kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
kubectl version --client
echo complete install kubectl
# Helm
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
echo complete install helm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment