Setting Up minikube on Windows 10

Contents

1. Enable Hyper-V


2. Install an Ubuntu VM

🚩 Before starting the VM, disable 'Enable Secure Boot' and set the number of virtual processors to 2.


3. Configure a Static IP for the Hyper-V VM (reference)

PowerShell
New-VMSwitch -SwitchName "HyperV_InternalvSwitch" -SwitchType Internal
Get-NetAdapter
New-NetIPAddress -IPAddress 192.168.0.1 -PrefixLength 24 -InterfaceIndex <INDEX>
New-NetNat -Name MyNATnetwork -InternalIPInterfaceAddressPrefix 192.168.0.0/24

🚩 Check the INDEX value to use with the New-NetIPAddress command
Post image 1
🚩 PowerShell output
Post image 2
🚩 Configure a Static IP in the VM
Post image 3


4. Install and Test minikube (reference)

A Docker permission issue occurred, so I added --force when running minikube start to resolve it (reference)

Post image 4

Diagram

100%

Drag to pan; pinch or use the wheel to zoom. Keyboard: arrow keys pan, + − zoom, 0 fits, Esc closes. The same content is in “Read the diagram as text” below the figure.