Learn OpenShift
上QQ阅读APP看书,第一时间看更新

Clearing the virtual environment

Once you are done working with Kubernetes, you can easily stop the Minikube cluster by running the minikube stop command:

$ minikube stop
Stopping local Kubernetes cluster...
Machine stopped.

After that, you can delete the Minikube VM if you want by running the minikube delete command:

$ minikube delete
Deleting local Kubernetes cluster...
Machine deleted.

Verify that the Minikube cluster no longer exists:

$ minikube status
minikube:
cluster:
kubectl: