Minikube

To develop the framework and the operators in an isolated Kubernetes cluster, use minikube.

MacOS:

brew install minikube
brew install hyperkit

minikube start --driver=hyperkit
minikube config set driver hyperkit

Start the minikube cluster:

minikube start
minikube dashboard

It automatically creates and activates the kubectl context named minikube. If not, or if you have multiple clusters, activate it explicitly:

kubectl config get-contexts
kubectl config current-context
kubectl config use-context minikube

For the minikube cleanup (to release the CPU/RAM/disk resources):

minikube stop
minikube delete

See also

For even more information, read the Minikube installation manual.