Skip to content
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

How to uninstall minikube and kubectl completely (Including config files) ? #4765

Closed
akshayr01 opened this issue Jul 16, 2019 · 5 comments
Closed
Labels
co/none-driver kind/feature Categorizes issue or PR as related to a new feature. triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@akshayr01
Copy link

Can someone help me with uninstalling minikube and kubectl completely?

OS: RHEL 7.2 ( AWS EC2 instance)
Minikube version: minikube version: v1.2.0
Kubectl: Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

@afbjorklund afbjorklund added kind/feature Categorizes issue or PR as related to a new feature. co/none-driver labels Jul 16, 2019
@afbjorklund
Copy link
Collaborator

Currently there is no automated way to stop minikube or to remove minikube, for the none driver.
For the normal drivers we just stop or destroy the VM, which also stop or removes minikube.

Basically one would have to stop/delete the various components, and then clean up containers/images.
The final and smallest step is removing the actual minikube and kubectl binaries in the path.

@tstromberg
Copy link
Contributor

This issue appears to be a duplicate of #3372, so I will close this one so that we may centralize the content relating to the issue. If you feel that this issue is not in fact a duplicate, please feel free to re-open it.

For the none driver specifically, https://github.com/kubernetes/minikube/blob/master/docs/vmdriver-none.md has some information about what files get written to.

Thank you for reporting this!

@tstromberg tstromberg added the triage/duplicate Indicates an issue is a duplicate of other open issue. label Jul 16, 2019
@sanjaygeeky
Copy link

Hello
Please refer to page https://minikube.sigs.k8s.io/docs/reference/uninstalling_minikube/
For linux
In the shell, type in minikube delete to delete the minikube cluster. - Remove the binary using
rm /usr/local/bin/minikube

  • Remove the directory containing the minikube configuration
    rm -rf ~/.minikube

@vyom-soft
Copy link

Yes agree with sanjaygeeky, also delete .kube, .minikube from $HOME and kubectl etc from /usr/local/bin

@gitsofian
Copy link

Hello Please refer to page https://minikube.sigs.k8s.io/docs/reference/uninstalling_minikube/ For linux In the shell, type in minikube delete to delete the minikube cluster. - Remove the binary using rm /usr/local/bin/minikube

  • Remove the directory containing the minikube configuration
    rm -rf ~/.minikube

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/none-driver kind/feature Categorizes issue or PR as related to a new feature. triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

6 participants