Minikube setup in Windows 10 Home and Windows 10 Enterprise

As I was struggling to setup local minikube for testing my deployment and I don't want to use cloud service for this so, here is what I followed:

Installing minikube in windows 10 home → VirtualBox

  1. Install kubectl ( latest version)
  2. Install VirtualBox: https://www.virtualbox.org/wiki/Downloads
  3. Install https://kubernetes.io/docs/tasks/tools/install-minikube/

4. Create a folder in any drive. Put the kubectl and minikube binaries into the folder (kubernetes) and Set for kubectl and minikube.

ex: C:\kubernetes

5. Open command prompt, check kubectl version and minikube version

client version and minikube version

6. Start minikube using: ‘minikube start’.

It will start downloading minikube ISO then kubernetes binary

7. Options checks :

Get kubernetes nodes:

kubernets node

so minikube comes with 1 single node, which will use VirtualBox.

8. Enable minikube dashboard → it will display the gui

starting minikube dashboard
minikube dashboard

Installing Minikube in windows 10 Enterprise→ Hyper-V/VirtualBox

The only difference in installing Minikube in windows 10 Enterprise is that, there we can simply enable Hyper-V. You can either enable Virtualization settings for Hyper-V or install Oracle Virtual Box on your machine. You can choose either of these. But its not the case with windows 10 home. It don't comes with Hyper-V by default

Steps:

  1. Enable Hyper-V from Programs and feature → Turn on windows features on or off →Hyper-V
Enabling HyperV

It will need a Restart after this.

2. Open command prompt run as Administrator → check the systeminfo, you will see.

3. Open command prompt run as Administrator and run Minikube

Starting Minikube

4. And you are good to execute Kubernetes command and play around:

Minikube stop

and you can revert back the Hyper-V if not needed.( As it may create problem if you are using other virtual box or workstations)

This how you can setup you local kubernetes environment and execute and test your manifests

--

--

Infrastructure Consultant by profession and artist by weekend

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Neha Singh

Infrastructure Consultant by profession and artist by weekend