Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save evaristorivi/16e1203624452e3f4b3513cd5c26033b to your computer and use it in GitHub Desktop.
Save evaristorivi/16e1203624452e3f4b3513cd5c26033b to your computer and use it in GitHub Desktop.
[Ubuntu Linux]Kubernetes Minikube Helm Installation
# 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