In this tutorial, I am going to show you how to install Minikube on Windows 10 operating system.

How to install Minikube on Windows 10:

Installing Minikube on Windows 10 is a simple process; here I am providing an easy technique to install minikube along with kubeadm and kubectl on windows.

1. System Configuration:

I am going to install the minicube on the below-configured system.

  • Windows 10 Pro 64 Bit Operating system
  • RAM 8 GB
  • HDD 1TB
  • Oracle VirtualBox 5.2.8
  • Hyper-V Requirements:
    • VM Monitor Mode Extensions: Yes
    • Virtualization Enabled In Firmware: Yes
    • Second Level Address Translation: Yes
    • Data Execution Prevention Available: Yes

2. Prerequisites:

However I am working on the above configurations, the Minikube can be installed, if your system met the below minimum requirements.

You can check this virtualisation support by using systeminfo command on your windows command prompt.

You should see the below information when you hit the systeminfo command on your terminal.

Terminal
systeminfo
....
....
Hyper-V Requirements:      VM Monitor Mode Extensions: Yes
                           Virtualization Enabled In Firmware: Yes
                           Second Level Address Translation: Yes
                           Data Execution Prevention Available: Yes

3. Install Minikube on Windows 10:

Installing Minicube on windows operating system can be done in 3 different ways,

  • Install Minikube using Chocolatey
  • Install Minikube using installer
  • Install Minikube via the direct download

Out of these three options, in this tutorial, I am going with the third option because of the first two needs installation, whereas third options don’t need any installation process.

4. Download Minikube:

Download the Minikube from official git-hub repository.

How to install minikube on windows 10-min

Click on above-highlighted minikube-windows-amd64.exe; then the minikube executable will be downloaded into your machine.

Move the downloaded file to C:/minikube (create minikube folder in C: directory) directory and rename it as minikube.exe.

5. Download kubeCtl:

Download the kubeCtl from the official website.

How to install minikube on windows 10 4-min

Click on the above-highlighted hyperlink; then the kubectl.exe executable will be downloaded into your machine.

Move this kubectl.exe file into the above-created folder (C:/minikube).

Till this, we can confirm that we have downloaded Minikube.exe and kubectl.exe file and copied these two files into C:/minikube directory like below.

How to install minikube on windows 10 2-min

6. Create Path:

Now let’s create a path for the C:/minikube folder.

Goto-> View Advanced System Settings -> Environment Variables -> Select the Path from User variable section -> Click on Edit.

Then you could see the below Edit environment variables window. Click on New button and paste the C:/minikube and click on the Ok button.

How to install minikube on windows 10 3-min

7. Start the Minikube:

Open the windows command prompt and hit the minikube start command. Then it starts downloading minikube, kubeadm and kubelet. It will take time to download and set up the things based on your internet speed.

How to install minikube on windows 10 5-min

If you see the above Done! message, then you can confirm that minikube,kubectl, kubeadm and kubelet have been successfully installed on your machine.

8. Verify:

To verify the things, you can fire a simple kubectl command, here I am checking for nodes by firing kubectl get nodes command, then I could see the master node information as minikube comes along with a master node.

How to install minikube on windows 10 6-min

References:

Happy Learning 🙂

About the Author:

Avatar
Founder of onlinetutorialspoint.com Love Java, Python, Shell and opensource frameworks. Follow him on twitter and facebook for latest updates.

One Comment

  1. Avatar
    Praveen Siva January 20, 2021 at 2:41 am - Reply

    Thanks for details. But I am getting following error when I run minikube start command. I ahve downloaded Virtual Box 6.X version.

    C:\minikube>minikube start
    * minikube v1.2.0 on windows (amd64)
    * Tip: Use ‘minikube start -p ‘ to create a new cluster, or ‘minikube delete’ to delete this one.
    * Restarting existing virtualbox VM for “minikube” …
    E0119 15:56:54.796452 9192 start.go:559] StartHost: start: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube –type headless failed:
    VBoxManage.exe: error: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED)
    VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

    Details: 00:00:01.436792 Power up failed (vrc=VERR_NEM_VM_CREATE_FAILED, rc=E_FAIL (0X80004005))

    X Unable to start VM: start: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube –type headless failed:
    VBoxManage.exe: error: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED)
    VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

    Details: 00:00:01.436792 Power up failed (vrc=VERR_NEM_VM_CREATE_FAILED, rc=E_FAIL (0X80004005))

    * Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
    https://github.com/kubernetes/minikube/issues/new

Leave A Comment