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).
re-install minikube and it should work
This should do the trick.
if you are using Windows machine and Chocolatey package manager -
Step 1: run PowerShell as administrator
Step 2: run following command
choco upgrade minikube
More on chocolatey https://chocolatey.org/
Before reinstall minikube (OS X), check the following:
Make sure that you have
brew
updated:Make sure that you already have
cask
installed:Finally, execute the following command in the same directory you've installed minikube previously (usually
/usr/local/bin/
):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:
Now, you should able to reinstall (upgrade) minikube. :)
In order to upgrade in Windows, type:
The following is the output you will get (make sure you are connected to internet):
if you don't get the above message then first run minikube config set WantUpdateNotification true then do, minikube start
Before that, remove all the Minikube links from the system:
c:\Users\<user-name>\ .kube
folder.Process to update: