How to upgrade minikube?

2020-02-16 11:52发布

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).

9条回答
看我几分像从前
2楼-- · 2020-02-16 12:34

As of early 2020, and based on the guidance provided by this answer, minikube is no more available as a cask. You need to run:

brew install minikube
查看更多
虎瘦雄心在
3楼-- · 2020-02-16 12:35

An updated way is to use this:

brew cask upgrade minikube
查看更多
Lonely孤独者°
4楼-- · 2020-02-16 12:37

First, unlink the existing minikube from /usr/local/bin then reinstall:

$ sudo rm -rf /usr/local/bin/minikube    # unlink existing minikube

$ brew update                            # update brew itself
$ brew cask reinstall minikube           # reinstall latest minikube
查看更多
登录 后发表回答