-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Environment:
Minikube version (use minikube version): v0.25.1
- OS (e.g. from /etc/os-release): Windows 10 Pro
- VM Driver (e.g.
cat ~/.minikube/machines/minikube/config.json | grep DriverName): n/a - ISO version (e.g.
cat ~/.minikube/machines/minikube/config.json | grep -i ISOorminikube ssh cat /etc/VERSION): n/a - Install tools: Installed via isntaller and choco (same result)
What happened:
PS C:\WINDOWS\system32> minikube start --vm-driver hyperv --hyperv-virtual-switch "Primary Virtual Switch"
Starting local Kubernetes v1.9.4 cluster...
Starting VM...
E0322 15:54:09.998217 13800 start.go:159] Error starting host: Error creating host: Error executing step: Running precreate checks.
: Hyper-V PowerShell Module is not available.Retrying.
E0322 15:54:10.002181 13800 start.go:165] Error starting host: Error creating host: Error executing step: Running precreate checks.
: Hyper-V PowerShell Module is not available
PS C:\WINDOWS\system32>
How to reproduce it (as minimally and precisely as possible):
Run minikube start --vm-driver hyperv --hyperv-virtual-switch "Primary Virtual Switch"
Anything else do we need to know:
It looks like line
| if resp[0] != "Hyper-V" { |
"Hyper-V", however when I run @(Get-Command hyper-v\Get-VM).ModuleName i get hyper-v (lowercase)