Skip to content

Instantly share code, notes, and snippets.

@WesDowney
Last active March 25, 2021 12:09
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 WesDowney/b7f5fd2c486b5e76023251df05c311c3 to your computer and use it in GitHub Desktop.
Save WesDowney/b7f5fd2c486b5e76023251df05c311c3 to your computer and use it in GitHub Desktop.
Run Kubernetes locally on Windows 10 via MiniKube

Install kubectl

choco install kubernetes-cli

Run kubectl version to verify that the version you’ve installed is sufficiently up-to-date.

Configure kubectl to use a remote Kubernetes cluster:

cd C:\users\yourusername (Or wherever your %HOME% directory is)
mkdir .kube
cd .kube
New-Item config -type file

Download MiniKube

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

Change the name to minikube.exe, add it to a folder somewhere and add that folder to your PATH.

Running Minikube

minikube start - Start your cluster

kubectl get nodes - View the nodes

minikube dashboard - Open the dashboard in a browser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment