Hyper V 已启动。
操作系统:Winsows 10 Pro 内存:4GB
*****Power shell 以管理员模式启动********
我已经创建了一个虚拟交换机管理器,然后我正在尝试以下命令。
minikube start --vm-driver hyperv --hyperv-virtual-switch "Minikube Switch"
它抛出以下错误。
minikube v1.7.2 on Microsoft Windows 10 Pro 10.0.18363 Build 18363
* Using the hyperv driver based on user configuration
! 'hyperv' driver reported an issue: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online failed:
* Suggestion: Start PowerShell as Administrator, and run: 'Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All'
* Documentation: https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/
Run Code Online (Sandbox Code Playgroud)
X hyperv 似乎没有安装