Search code examples
windowsdockerkubernetesminikube

How to completely uninstall Minikube in windows 10 Pro? (chocolatey)


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?


Solution

  • 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