Hi,

In Hyper-V Manager > Virtual Switch Manager I created  a Virtual Switch 
called minikube and rebooted my machine

<https://lh3.googleusercontent.com/-XmJbwerXQS4/WejSUXIzxDI/AAAAAAAAUkU/fL7MWR71xpgzsUsySCoZeM4Z_bYaMfEywCLcBGAs/s1600/hypervswitch.png>



I then ran minikube start:

minikube start --vm-driver=hyperv --hyperv-virtual-switch=minikube --v=7

PS C:\windows\system32> minikube start --vm-driver=hyperv 
--hyperv-virtual-switch=minikube --v=7
Starting local Kubernetes v1.7.5 cluster...
Starting VM...
[executing ==>] : C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe 
-NoProfile -NonInteractive ( Get-VM minikube
 ).state
[stdout =====>] :
[stderr =====>] : Get-VM : Hyper-V was unable to find a virtual machine 
with name "minikube".
At line:1 char:3
+ ( Get-VM minikube ).state
+   ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (minikube:String) [Get-VM], 
VirtualizationException
    + FullyQualifiedErrorId : 
InvalidParameter,Microsoft.HyperV.PowerShell.Commands.GetVM


[executing ==>] : C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe 
-NoProfile -NonInteractive Start-VM minikube
[stdout =====>] :
[stderr =====>] : Start-VM : Hyper-V was unable to find a virtual machine 
with name "minikube".
At line:1 char:1
+ Start-VM minikube
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Start-VM], 
VirtualizationException
    + FullyQualifiedErrorId : 
ObjectNotFound,Microsoft.HyperV.PowerShell.Commands.StartVM


E1019 17:24:29.131723   14940 start.go:146] Error starting host: Error 
starting stopped host: exit status 1.

 Retrying.
E1019 17:24:29.161722   14940 start.go:152] Error starting host:  Error 
starting stopped host: exit status 1


*Windows version:*

PS C:\windows\system32> [System.Environment]::OSVersion.Version

Major  Minor  Build  Revision
-----  -----  -----  --------
10     0      14393  0

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to