<p><strong>Heads up</strong>: I need Hyper-V as VM driver because I want to be able to use the ingress addon; using Docker as the driver will not allow the use of addons in Windows.</p>

<p>I am using Minikube v1.11.0 and Kubernetes v1.18.3. When I am trying to create and launch a Minikube cluster according to <a href="https://medium.com/@JockDaRock/minikube-on-windows-10-with-hyper-v-6ef0f4dc158c" rel="nofollow noreferrer">this tutorial</a> with Hyper-V in PowerShell it keeps hanging on 'Creating hyperv VM:</p>

<pre><code>PS C:\WINDOWS\system32&gt; minikube start --vm-driver hyperv --hyperv-virtual-switch "Primary Virtual Switch"
* minikube v1.11.0 on Microsoft Windows 10 Pro 10.0.18363 Build 18363
  - KUBECONFIG=~/.kube/config
* Using the hyperv driver based on user configuration
* Starting control plane node minikube in cluster minikube
* Creating hyperv VM (CPUs=4, Memory=4096MB, Disk=20000MB) ...
</code></pre>

<p>After about 10 minutes it goes further and crashes with this errors:</p>

<pre><code>* Stopping "minikube" in hyperv ...
* Powering off "minikube" via SSH ...
* Deleting "minikube" in hyperv ...
! StartHost failed, but will try again: creating host: create host timed out in 240.000000 seconds
E0605 19:02:43.905739   30748 main.go:106] libmachine: [stderr =====&gt;] : Hyper-V\Get-VM : Hyper-V was unable to find a virtual machine with name "minikube".
At line:1 char:3
+ ( Hyper-V\Get-VM minikube ).state
+   ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (minikube:String) [Get-VM], VirtualizationException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.GetVM

...
Multiple E0605 errors
...

* Failed to start hyperv VM. "minikube start" may fix it: creating host: create host timed out in 240.000000 seconds
*
* [CREATE_TIMEOUT] error provisioning host Failed to start host: creating host: create host timed out in 240.000000 seconds
* Suggestion: Try 'minikube delete', and disable any conflicting VPN or firewall software
* Related issue: https://github.com/kubernetes/minikube/issues/7072
</code></pre>

<p>What to do?</p>

marcuse
<p>According to the tutorial you followed you have to make a new virtual network switch in the Hyper-V Manager with the type <strong>External</strong>. The author does not explain why the network switch has to be external, other than that this configuration is best for avoiding headaches with Minikube not working properly with other software.</p>

<p>For some reason the External type of the virtual network switch was the problem, instead of External type use the <strong>Internal</strong> type for your virtual network switch in the Hyper-V Manager. Then run the following command to delete the wrong configurated cluster and to clean up:</p>

<pre><code>minikube delete
</code></pre>

<p>Now, re-run the create/launch command for your Minikube cluster with your internal virtual network switch:</p>

<pre><code>minikube start --vm-driver hyperv --hyperv-virtual-switch "Your Internal Virtual Switch"
</code></pre>

<p>Now you're all set with your new cluster when it finishes correctly!</p>
