Last active
June 24, 2023 14:37
-
-
Save Tamal/e0a94c0835cad9c57f745a4c4949de9f to your computer and use it in GitHub Desktop.
minikube upgrade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Minikube update script file | |
# For Macs use /latest/minikube-darwin-arm64 | |
minikube delete && \ | |
sudo rm -rf /usr/local/bin/minikube && \ | |
sudo curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && \ | |
sudo chmod +x minikube && \ | |
sudo cp minikube /usr/local/bin/ && \ | |
sudo rm minikube && \ | |
minikube start --container-runtime='containerd' && \ | |
# Enabling addons: ingress, dashboard | |
minikube addons enable ingress && \ | |
minikube addons enable dashboard && \ | |
minikube addons enable metrics-server && \ | |
# Showing enabled addons | |
echo '\n\n\033[4;33m Enabled Addons \033[0m' && \ | |
minikube addons list | grep STATUS && minikube addons list | grep enabled && \ | |
# Showing current status of Minikube | |
echo '\n\n\033[4;33m Current status of Minikube \033[0m' && minikube status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment