Prefer "minikube delete" over "rm -rf ~/.minikube" (#14647)
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
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d259346fde
commit
b207ff8d2d
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user