DEV Community

Kiran Salunke
Kiran Salunke

Posted on

How to - upgrade minikube to latest version ?

1) Check your current minikube version.

minikube version

Image description

2) check your latest minikube version available to install or update.

minikube update-check

Image description

here you will see LatestVersion v1.29.0, and thatโ€™s where we are planning to upgrade too.

3) Stop if your minikube cluster is running.

minikube stop & then check the status of your minikube status.

Image description

Image description

4) Delete your minikube cluster .

minikube delete

Image description

5) Remove minikube binary files from /usr/local/bin/minikube
Check -- # ls -ltr /usr/local/bin/minikube
Remove -- # sudo rm -rf /usr/local/bin/minikube
Verify -- # ls -ltr /usr/local/bin/minikube

Image description

6) Download latest minikube binary from here Minikube Download

curl -LO

7) After downloading it,Install minikube.

sudo install minikube-linux-amd64 /usr/local/bin/minikube

Image description

& thatโ€™s it we have installed and upgraded our minikube cluster successfully. Whoooo Hoooooo !!!
Verify the status with below command.

minikube version

Image description

8) Start your minikube cluster.
Note :- This will take some time to pull base kubernetes v1.26.1 images to start your minikube

minikube start

Image description

9) check the status of your minikube cluster.

minikube status

Image description

10) simpletest way to install & upgrade minikube run the below script , you can get it from my github repo


Happy Learning

Top comments (0)

Regex for lazy developers

regex for lazy devs

You know who you are. Sorry for the callout ๐Ÿ˜†