Last active
June 11, 2021 07:19
-
-
Save nicolargo/1fd5aa8833c03c9bbe2cf1a93cd364d9 to your computer and use it in GitHub Desktop.
Install Minikube, Kubernetes and Helm on Ubuntu
This file contains 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
Install minikube | |
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 | |
$ chmod +x minikube | |
$ sudo install minikube /usr/local/bin/ | |
Get the minikube version | |
$ minikube version | |
minikube version: v1.20.0 | |
commit: c61663e942ec43b20e8e70839dcca52e44cd85ae | |
Get a kubectl version with the same version number (+/- 1) than minikube | |
$ curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kubectl | |
$ chmod +x kubectl | |
$ sudo install kubectl /usr/local/bin/ | |
Delete your current cluster (useful for K8 upgrade): | |
$ minukube delete | |
Run Minikube | |
$ minukube start --cpus 2 | |
Install Helm: | |
$ curl https://raw.githubusercontent.com/kubernetes/Helm/master/scripts/get > get_Helm.sh | |
$ chmod 700 get_Helm.sh | |
$ sudo ./get_Helm.sh | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment