Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade minikube?

I had installed minikube a few months ago and wanted to upgrade as newer versions are available.

I am unable to find out how to upgrade minikube. I see a feature request for an upgrade command here - https://github.com/kubernetes/minikube/issues/1171

I tried to then uninstall minikube and hit another brickwall again. I don't see a command to uninstall minikube. The information that came closest to this was not very helpful - https://github.com/kubernetes/minikube/issues/1043

I guess we need ways to upgrade these (at least once every 6 months or so).

like image 410
Manglu Avatar asked Jul 10 '17 00:07

Manglu


People also ask

What is the latest version of minikube?

Version 1.26. 1 - 2022-08-02. Minor Improvements: Check for cri-dockerd & dockerd runtimes when using none-driver on Kubernetes 1.24+ #14555.

How do I find my minikube version?

Once your minikube is running, you can use kubectl version command to see the version of kubernetes server. Also, when you start minikube using minikube start , kubernetes version is shown in stdout. $ minikube start Starting local Kubernetes v1.


1 Answers

Before reinstall minikube (OS X), check the following:

  • Make sure that you have brew updated:

    brew update 
  • Make sure that you already have cask installed:

    brew cask install minikube --verbose 

Finally, execute the following command in the same directory you've installed minikube previously (usually /usr/local/bin/):

brew cask reinstall minikube 

If you see an output similar to this:

Error: It seems there is already a Binary at '/usr/local/bin/minikube'; not linking.

  • Remove the existing binary:

    rm /usr/local/bin/minikube 

Now, you should able to reinstall (upgrade) minikube. :)

like image 85
Raquel Campuzano Avatar answered Sep 24 '22 19:09

Raquel Campuzano