From 1720d37869b0aefacfe689d798582455760dd0fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Str=C3=B6mberg?= Date: Thu, 30 May 2019 15:05:37 -0700 Subject: [PATCH] Prefer "minikube delete" over "rm -rf ~/.minikube" Using `rm -Rf ~/.minikube` is not necessary in modern (v1.x) versions of minikube, and is highly discouraged as may can leave dangling VM's running, which minikube will fail to recover from. Example issue: https://github.com/kubernetes/minikube/issues/4377 --- content/en/docs/tasks/tools/install-minikube.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tasks/tools/install-minikube.md b/content/en/docs/tasks/tools/install-minikube.md index 0fa5594d80111..66f42383c3282 100644 --- a/content/en/docs/tasks/tools/install-minikube.md +++ b/content/en/docs/tasks/tools/install-minikube.md @@ -141,7 +141,7 @@ To install Minikube manually on windows using [Windows Installer](https://docs.m {{% /capture %}} -## Cleanup everything to start fresh +## Cleanup local state If you have previously installed minikube, and run: ```shell @@ -153,7 +153,7 @@ And this command returns an error: machine does not exist ``` -You need to wipe the configuration files: +You need to clear minikube's local state: ```shell -rm -rf ~/.minikube +minikube delete ```