Minikube cheat sheet

minikube

Some of the common commands needed for a local Minikube install on a Windows10 Hyper-v setup.

Ref: https://github.com/kubernetes/minikube

install choclatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

install kubectl
choco install kubernetes-cli

start minikube (my hyper-v switch is called vSwitch)
minikube.exe start --kubernetes-version="v1.8.0" --vm-driver="hyperv" --memory=1024 --hyperv-virtual-switch="vSwitch" --v=7 --alsologtostderr

get cluster information
kubectl cluster-info

open k8s web dashboard
minikube dashboard

Cloud Solution Architect at Microsoft in the UK.

Leave a Reply

Your email address will not be published. Required fields are marked *