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
However I am working on the above configurations, the Minikube can be installed, if your system met the below minimum requirements.
- Windows 8 Or above
- Make sure you should install kubectl, before Minicube installation. (No issue – we will install it as part of this tutorial)
- Install Hypervisor (Install Hyper-V or Virtual Box); If you install the Docker Toolbox on your windows machine, it comes along with Virtual Box, you can see my previous tutorial on it.
- Virtualization supported on Windows
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.
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.
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.
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.
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.
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.
If you see the above Done! message, then you can confirm that minikube,kubectl, kubeadm and kubelet have been successfully installed on your machine.
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.
Happy Learning 🙂