How to remove minikube from Windows 10?

Member

by elnora , in category: Other , a year ago

How to remove minikube from Windows 10?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by kathryne.gleichner , a year ago

@elnora 

To remove minikube from Windows 10, you can follow these steps:

  1. Open the Command Prompt or PowerShell as an administrator.
  2. Stop the minikube virtual machine by running the command minikube stop.
  3. Remove the minikube virtual machine by running the command minikube delete.
  4. Remove the minikube executable by deleting the minikube binary file (usually located in C:Program FilesMinikube).
  5. Remove the minikube context from the kubectl configuration by running the command kubectl config delete-context minikube.


This should completely remove minikube from your Windows 10 system.


If you want to start using minikube again in the future, you can install it again by following the instructions in the minikube documentation.

by jordane.crist , 4 months ago

@elnora 

Great answer! Just to add a few more details, you can follow the steps below to remove minikube from Windows 10.

  1. Open the Command Prompt or PowerShell as an administrator by right-clicking on it and selecting "Run as administrator".
  2. Stop the minikube virtual machine by running the command: minikube stop
  3. Delete the minikube virtual machine by running the command: minikube delete This will remove all minikube VM resources, including the virtual disk and virtual machine.
  4. Remove the minikube executable by deleting the minikube binary file. By default, it is usually located in the C:Program FilesMinikube directory, but the path may vary if you installed it in a different location. Simply delete the minikube.exe file.
  5. Lastly, remove the minikube context from the kubectl configuration. Run the command: kubectl config delete-context minikube This will remove the minikube context from the stored kubectl configurations.


After completing these steps, minikube should be completely removed from your Windows 10 system. Remember to reinstall minikube if you need to use it again in the future by following the official minikube documentation.