K8S installation on local windows machine

Sonam Kumari Singh
3 min readJan 28, 2022

Minimum requirements :-

  • 2 CPUs or more
  • 2GB of free memory
  • 20GB of free disk space
  • Internet connection
  • VirtualBox

Install minikube from the following url

👉 https://storage.googleapis.com/minikube/releases/latest/minikube-installer.exe

Double click on installed file to start installation

👉 Accept the security warning

👉 Click on ok

👉 Click on next

👉 Click on I Agree

👉(Important) Keep a note of the destination folder

C:\Program Files\Kubernetes\Minikube

👉 Click on Next

👉Click on Finish


Open the cmd or powershell in administrator mode

Now go to the installation folder that you were asked to keep note of it

👉 cd C:\Program Files\Kubernetes\Minikube

Make the virtualbox as default driver

👉 minikube config set driver virtualbox

Now start the minikube for further configuration -

👉 minikube start — driver=virtualbox

This will take time as per available internet speed so, sit and have a tea or coffee or have a light walk ☕☕😊

If everything goes fine you will see this

A new VM will be created inside VirtualBox

Download the following client program on same location -

👉curl -LO “https://dl.k8s.io/release/v1.22.0/bin/windows/amd64/kubectl.exe"

Kubectl.exe will get installed to the current folder

Test the installation -

👉 kubectl get pods

Setting the class path for the Minikube folder

Copy the location

Search for Environment Variables in your start menu

👉 Click on Path

👉 Click on New and paste the copied address

C:\Program Files\Kubernetes\Minikube

Click on OK

Click on OK

Now close the cmd prompt and then open it again


👉 kubectl get pods

To stop the cluster use

👉 minikube stop

For more insights refer official documentation


— — — — — — — — — —SetUp Done✌️ — — — — —

https://www.linkedin.com/in/sonam-kumari-singh/ 👀

Thank You



Sonam Kumari Singh

SONAM here! Grateful for your connection! Tech enthusiast exploring new languages, deep into DevOps, with a spotlight on Linux. 😊🚀