<p>Trying to setup minikube under Windows 10 using Hyper-V. <a href="https://blog.tekspace.io/getting-started-with-kubernetes-on-windows-10-with-hyper-v/" rel="nofollow noreferrer">https://blog.tekspace.io/getting-started-with-kubernetes-on-windows-10-with-hyper-v/</a></p>

<p>I found several articles stating that you need to start it with a switch -<code>-vm-driver=hyperv</code>, however this does not work for me.</p>

<p><a href="https://i.stack.imgur.com/668V8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/668V8.png" alt="enter image description here"></a></p>

<p>Command I'm running:</p>

<pre><code>minikube start --vm-driver hyperv
</code></pre>

<p>What gives?</p>

<p>EDIT1:
Getting stuck on:</p>

<blockquote>
  <ul>
  <li>Creating hyperv VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...</li>
  </ul>
</blockquote>

<p><a href="https://i.stack.imgur.com/CUgVJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CUgVJ.png" alt="d. "></a></p>

<p>Looks like your old <code>minikube</code> VirtualBox VM is in your <a href="https://github.com/kubernetes/minikube/issues/1041" rel="nofollow noreferrer"><code>MINIKUBE_HOME</code></a> directory. </p>

<p><code>minikube delete</code> is also failing because it looks like you uninstall VirtualBox.</p>

<p>You probably need to delete your <code>MINIKUBE_HOME</code> directory completely and then start with:</p>

<pre><code>$ minikube start --vm-driver hyperv
</code></pre>

<p>Update:</p>

<p>In addition please refer to <a href="https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/" rel="nofollow noreferrer">Microsoft Hyper-V driver</a> </p>

<p>Requirements:</p>

<ol>
<li><p>Hyper-V enabled</p>

<blockquote>
  <p>Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All</p>
</blockquote>

<p><strong>Note</strong>:
If Hyper-V was not previously active, you will need to reboot.</p></li>
<li><p>An active Hyper-V switch - please foloow the Network Configuration section.</p></li>
</ol>

<blockquote>
  <p>Set the switch you created as the minikube default in the step 2.</p>
</blockquote>

<pre><code>minikube config set hyperv-virtual-switch ExternalSwitch
minikube start --vm-driver=hyperv
minikube config set vm-driver hyperv
</code></pre>
