How to completely uninstall Minikube in windows 10

2020-07-02 04:34发布

问题:

I came to the realization that Windows 10 Docker has the Kubernetes options in it now, so I want to completely uninstall minikube and use the Kubernetes version that comes with docker windows instead.

How can I completely uninstall minikube in windows 10?

回答1:

This as simple as running:

minikube stop & REM stops the VM

minikube delete & REM deleted the VM

Then delete the .minikube and .kube directories usually under:

C:\users\{user}\.minikube

and

C:\users\{user}\.kube

Or if you are using chocolatey:

C:\ProgramData\chocolatey\bin\minikube stop
C:\ProgramData\chocolatey\bin\minikube delete
choco uninstall minikube
choco uninstall kubectl