Introduction
Kubernetes cluster can be deployed on either physical or virtual machines. To get started with Kubernetes development, you can use Minikube.
VM Requirements
- 2 CPUs or more
- 2GB of free memory
- 20GB of free disk space
- Internet connection or V Switch should be External
- Container or virtual machine manager such as: Docker, Hyperkit, Hyper-V, KVM, Parallels, Podman, VirtualBox, or VMware Fusion/Workstation
I will provide step by step to install Kubernetes via Minikube using Windows 10 PowerShell with screenshots below.
Step 1
Go to windows search bar, type the Window PowerShell select Run as Administrator in your Hyper-V host machine.

Step 2
If using minikube latest Version on the PowerShell, use this command
New-Item -Path 'c:\' -Name 'minikube' -ItemType Directory -Force
Invoke-WebRequest -OutFile 'c:\minikube\minikube.exe' -Uri 'https://github.com/kubernetes/minikube/releases/latest/download/minikube-windows-amd64.exe' -UseBasicParsing

Step 3
Add the minikube.exe binary to your PATH
$oldPath = [Environment]::GetEnvironmentVariable('Path', [EnvironmentVariableTarget]::Machine)
if ($oldPath.Split(';') -inotcontains 'C:\minikube'){ `
[Environment]::SetEnvironmentVariable('Path', $('{0};C:\minikube' -f $oldPath), [EnvironmentVariableTarget]::Machine) `
}

Step 4
Type choco in PowerShell to check the version of chocolatey.
choco

Step 5
The following command will download Kubernetes-cli and the minikube package. Select Yes to confirm the installation.










Join the conversation! Your thoughts help the community grow.