# install `docker for mac`
brew cask install docker
# then go to the gui launcher and start up docker, and follow the prompts.
# uninstalling `docker for mac`
brew cask zap docker
# brew cask install minikube
Install
GO111MODULE=on go get sigs.k8s.io/kind
Usage
Create a cluster
for help kind [command] --help
kind create cluster # Default cluster context name is `kind`.
# with name
kind create cluster --name blog --wait 5m
# list clusters
kind get clusters
# Deleting a Cluster
kind delete cluster
verify kindest/node container running with docker ps
Interacting With Your Cluster
export KUBECONFIG="$(kind get kubeconfig-path)"
# export KUBECONFIG="$(kind get kubeconfig-path --name blog)"
kubectl cluster-info