windows 10 pro 1709
minikube v0.25.2,安装在D:\dev\kube,加入了PATH环境变量windows
PS D:\dev> minikube start --registry-mirror=http://xxxxxxxx.m.daocloud.io --vm-driver=hyperv --hyperv-virtual-switch="minikubeSwitch"
Starting local Kubernetes v1.9.4 cluster...
Starting VM...
E0323 15:18:37.885937 8624 start.go:159] Error starting host: Error creating host: Error executing step: Creating VM.
: open /Users/zhong/.minikube/cache/iso/minikube-v0.25.1.iso: The system cannot find the path specified.缓存
当前目录和minikube缓存目录不在一个盘分区,如上当前分区是D盘,而minikube缓存默认在C盘用户目录的.minikube目录下。命令行
方法一:命令行切换到C盘
方法二:环境变量MINIKUBE_HOME设置到D盘blog
hyperv新建的虚拟交换机不支持802.1x认证信息的转发ci
使用windows 10 1709新增特性(参见:https://blogs.technet.microsoft.com/nextnextfinish/2018/02/02/windows-10-1709-hyper-v-networking-enhancement/),设置minikube虚拟机使用hyperv默认虚拟交换机。
get