Skip to content

Instantly share code, notes, and snippets.

@oeeckhoutte
Last active January 12, 2018 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oeeckhoutte/e0c5ca7e2e8cadcac32c82457fe4b17a to your computer and use it in GitHub Desktop.
Save oeeckhoutte/e0c5ca7e2e8cadcac32c82457fe4b17a to your computer and use it in GitHub Desktop.
Install Helm and Minikube on Ubuntu 16.04 on Azure
# Install virtualbox
sudo apt-get 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/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
# Launch Minikube
minikube start
# Verify 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