如何升级 minikube? [英] How to upgrade minikube?
问题描述
我在几个月前安装了 minikube 并希望在有新版本可用时进行升级.
I had installed minikube a few months ago and wanted to upgrade as newer versions are available.
我不知道如何升级 minikube.我在这里看到升级命令的功能请求 - https://github.com/kubernetes/minikube/问题/1171
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
我尝试卸载 minikube 并再次撞墙.我没有看到卸载 minikube 的命令.与此最接近的信息不是很有帮助 - https://github.com/kubernetes/minikube/issues/1043
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
我想我们需要一些方法来升级这些(至少每 6 个月左右一次).
I guess we need ways to upgrade these (at least once every 6 months or so).
推荐答案
在重新安装 minikube (OS X) 之前,请检查以下内容:
Before reinstall minikube (OS X), check the following:
确保您已更新
brew
:
brew update
确保您已经安装了 cask
:
brew cask install minikube --verbose
最后,在之前安装minikube的同一个目录下(通常是/usr/local/bin/
)执行以下命令:
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:
错误:似乎在/usr/local/bin/minikube"处已经有一个二进制文件;没有链接.
删除现有的二进制文件:
Remove the existing binary:
rm /usr/local/bin/minikube
现在,您应该可以重新安装(升级)minikube.:)
Now, you should able to reinstall (upgrade) minikube. :)
这篇关于如何升级 minikube?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!