Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 863 Bytes

k8s-tools-kubectl-helm.md

File metadata and controls

19 lines (17 loc) · 863 Bytes

How to install or download k8s tools

This assumes Ubuntu OS

Kubectl

  • Install kubectl binary (source)
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

Helm

  • Install helm binary (source)
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm