delete kubernetes cluster on docker-for-desktop OSX

John Smith picture John Smith · Oct 18, 2018 · Viewed 17.2k times · Source

What is the equivalent command for minikube delete in docker-for-desktop on OSX

As I understand, minikube creates a VM to host its kubernetes cluster but I do not understand how docker-for-desktop is managing this on OSX.

Answer

VASャ picture VASャ · Oct 18, 2018

Tear down Kubernetes in Docker for OS X is quite an easy task.

Go to Preferences, open Reset tab, and click Reset Kubernetes cluster.

enter image description here

All object that have been created with Kubectl before that will be deleted.

You can also reset docker VM image (Reset disk image) and all settings (Reset to factory defaults) or even uninstall Docker.