mchirico / zDaily

Playground to hack and test ideas with Zoe
1 stars 2 forks source link

Day 72: kubectl, KinD on Mac #79

Open mchirico opened 3 years ago

mchirico commented 3 years ago

Video day 72

Create a Kubernetes cluster on your Mac

curl command to install kubectl

You can run this command on your mac

curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl"

chmod +x ./kubectl

sudo mv ./kubectl /usr/local/bin/kubectl

Next, test it to make sure it's installed...


kubectl version --client

Github KinD

git clone https://github.com/kubernetes-sigs/kind.git
cd kind
make

Reference

https://kubernetes.io/docs/tasks/tools/install-kubectl/ https://github.com/kubernetes-sigs/kind

tacomonkautobot[bot] commented 3 years ago

mchirico, Thanks for opening this issue!