Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 477 Bytes

kubectl-setup.md

File metadata and controls

31 lines (21 loc) · 477 Bytes

Installing and setting up kubectl (macOS & Linux)

macOS

brew isntall kubectl

Linux

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
mkdir ~/.kube
cd ~/.kube
touch config

Testing it out

kubectl get nodes