Skip to content

Instantly share code, notes, and snippets.

@brunocrt
Created August 12, 2019 14:32
Show Gist options
  • Save brunocrt/cf11422538b8fc638bbd15f783aae5e9 to your computer and use it in GitHub Desktop.
Save brunocrt/cf11422538b8fc638bbd15f783aae5e9 to your computer and use it in GitHub Desktop.
Minikube setup on windows 10
Quick summary for those seeing similar issues:
First create a vSwitch in Hyper-V
type: external
name: Minikube (or anything you like)
make sure to associate the vSwitch with the correct NIC
reboot after creating the vSwitch just in case (routing tables, ...)
go take a look at the network devices on your Windows host to make sure that you have a Virtual Ethernet Adapter configured and actually connected to your network
Control Panel\Network and Internet\Network Connections. In my case i have: "vEthernet (Minikube)"
Once done make sure to start clean, remove ~/.minikube and remove any VM you tried to create before.
Once you're ready, run the following minikube start command:
minikube start --vm-driver "hyperv" --hyperv-virtual-switch "Minikube" --disk-size 10g --memory 4096 --v 9999 --alsologtostderr
@brunocrt
Copy link
Author

Be sure to be using the latest minikube version available. If not sure, run the update check command:

minikube update-check

more information see the official documentation
https://minikube.sigs.k8s.io/docs/reference/commands/update-check/

@brunocrt
Copy link
Author

To update minikube use the chocollatey package manager update command

choco update minikube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment