Forked from sanketsudake/kubernetes-ubuntu-install.sh
Created
August 14, 2018 10:02
-
-
Save BlueLightLTD/9ae4f6cc1e213c1eaa6b1e2c25ef2a00 to your computer and use it in GitHub Desktop.
[Ubuntu Linux]Kubernetes Minikube Helm Installation
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
| # Install virtualbox | |
| sudo apt install virtualbox | |
| # Install Kubectl | |
| curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin | |
| # Install Minikube | |
| curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.14.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ | |
| # Launch Minikube | |
| minikube start | |
| # Veritfy minikube & kubernetes installation with following commands | |
| kubectl get nodes | |
| # NAME STATUS AGE | |
| # minikube Ready 24s | |
| kubectl config current-context | |
| # minikube | |
| minikube ip | |
| # 192.168.99.100 | |
| kubectl cluster-info | |
| # Kubernetes master is running at https://192.168.99.100:8443 | |
| # KubeDNS is running at https://192.168.99.100:8443/api/v1/proxy/namespaces/kube-system/services/kube-dns | |
| # kubernetes-dashboard is running at https://192.168.99.100:8443/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard | |
| # Install Helm | |
| curl -Lo /tmp/helm-linux-amd64.tar.gz https://kubernetes-helm.storage.googleapis.com/helm-v2.1.3-linux-amd64.tar.gz | |
| tar -xvf /tmp/helm-linux-amd64.tar.gz -C /tmp/ | |
| chmod +x /tmp/linux-amd64/helm && sudo mv /tmp/linux-amd64/helm /usr/local/bin/ | |
| # Initialize helm, install Tiller(the helm server side component) | |
| helm init | |
| # Make sure we get the latest list of chart | |
| helm repo update | |
| # * Happy Helming * | |
| helm ls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment