-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
none: can't delete cluster: output: sudo: kubeadm: command not found #4616
Comments
I think I have seen this error in the integration tests too ! |
I think the least would could do is at least add solution message to the error map and have a link to this issue till we fix it |
Yeah, we now error out if you try creating a cluster with none driver without sudo. It'll be included in the next release. |
I confirm this issue I am making a PR to fix it. Thank you for reporting it and following up on it |
@medyagh - any progress? |
having the same issue on macOS 10.14.3 (Mojave) |
Bump -- just hit this myself |
I worked for me after I deleted ~/.minikube directory ( looks like I had very old version of minikube v1.0.0 )..so the new version v1.3.1 could not use the old ~/.minikube directory. |
same issue for drivers: hyperv and virtualbox (on windows) |
@michalpiasecki1 - Windows has a very different implementation model. My guess is your experience is likely related to Windows file locking. Please open a new issue. |
This issue is fixed at head. We no longer require kubeadm to be in path. |
The exact command to reproduce the issue:
The full output of the command that failed:
🔄 Uninstalling Kubernetes v1.15.0 using kubeadm ...
Failed to delete cluster: kubeadm reset: sudo kubeadm reset --force
: running command: sudo kubeadm reset --force
output: sudo: kubeadm: command not found
: running command: sudo kubeadm reset --force
.: exit status 1
🔥 Deleting "minikube" from none ...
💣 Failed to delete cluster: exit status 5
😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new
The output of the
minikube logs
command:The operating system version: Ubuntu 19.04
Comments: I found a workaround for that which is
rm -fr .minikube/
. But it is not intuitive at all.The text was updated successfully, but these errors were encountered: