Basic controls

See minikube in action!

Start a cluster by running:

  1. minikube start

Access the Kubernetes Dashboard running within the minikube cluster:

  1. minikube dashboard

Once started, you can interact with your cluster using kubectl, just like any other Kubernetes cluster. For instance, starting a server:

  1. kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.4

Exposing a service as a NodePort

  1. kubectl expose deployment hello-minikube --type=NodePort --port=8080

minikube makes it easy to open this exposed endpoint in your browser:

  1. minikube service hello-minikube

Upgrade your cluster:

  1. minikube start --kubernetes-version=latest

Start a second local cluster (note: This will not work if minikube is using the bare-metal/none driver):

  1. minikube start -p cluster2

Stop your local cluster:

  1. minikube stop

Delete your local cluster:

  1. minikube delete

Delete all local clusters and profiles

  1. minikube delete --all

Last modified January 13, 2021: Removed exec permission from files that should not have (94ea2bace)