How to upgrade minikube?

前端 未结 13 1172
一个人的身影
一个人的身影 2020-12-23 13:09

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

相关标签:
13条回答
  • 2020-12-23 13:42
    minikube delete
    sudo rm -rf ~/.minikube
    

    re-install minikube and it should work

    0 讨论(0)
  • 2020-12-23 13:45

    Process to update:

    • Minikube is an executable: Re-install minikube is an upgrade.
    • Optionally you can remove ~/.minikube which will make minikube completely re-initialize and also update your kubernetes version (if a new version has been made available for minikube).
    0 讨论(0)
  • 2020-12-23 13:45

    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/

    0 讨论(0)
  • 2020-12-23 13:49

    In order to upgrade in Windows, type:

    minikube start
    

    The following is the output you will get (make sure you are connected to internet):

    Here is a newer version of Minikube available (v0.28.0). Download it here: https://github.com/kubernetes/minikube/releases/tag/v0.28.0

    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:

    1. Remove the previous installation path.
    2. From this folder, remove c:\Users\<user-name>\ .kube folder.
    0 讨论(0)
  • 2020-12-23 13:51

    This should do the trick.

    brew cask reinstall minikube
    
    0 讨论(0)
  • 2020-12-23 13:55

    If you're reading this in 2020+:

    brew upgrade minikube
    
    0 讨论(0)
提交回复
热议问题