Instructions for installing KinD (Kubernetes in Docker) on Mac OS
Start by installing Go, if you don't already have it.
If you’re on a Mac, the quickest way to install Go is with Homebrew:
$ brew update
$ brew install go --cross-compile-common
Once installed, create a workspace, configure the GOPATH and add the workspace's bin folder to your system path:
$ mkdir $HOME/go
$ export GOPATH=$HOME/go
$ export PATH=$PATH:$GOPATH/bin
Install Docker if you don't have it already.
https://kubernetes.io/docs/reference/kubectl/overview/
Install with brew:
$ brew install kubernetes-cli
Install:
go get sigs.k8s.io/kind
Create a cluster and switch the context of Kubectl:
$ kind create cluster --name sample
$ export KUBECONFIG="$(kind get kubeconfig-path --name="sample")"
$ kubectl cluster-info