macos minikube 不支持的驱动程序:kvm2
macos minikube unsupported driver: kvm2
你好,你知道我为什么会收到以下错误吗:
~ minikube start --vm-driver kvm2
minikube v1.0.0 on darwin (amd64)
Downloading Kubernetes v1.14.0 images in the background ...
Creating kvm2 VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
unsupported driver: kvm2
我已经安装:
brew update && brew install kubernetes-cli && brew cask install docker docker-machine minikube virtualbox && brew install hyperkit
根据Minikube Driver Plugin Installation:
Minikube uses Docker Machine to manage the Kubernetes VM so it
benefits from the driver plugin architecture that Docker Machine uses
to provide a consistent way to manage various VM providers. Minikube
embeds VirtualBox and VMware Fusion drivers so there are no additional
steps to use them. However, other drivers require an extra binary to
be present in the host PATH.
KVM2 驱动由 minikube 团队维护。它是使用 minikube 构建、测试和发布的,但是 it's not supported by MacOS。
(我假设您使用的是 MacOS,因为您使用 brew
管理您的包)。
Minikube 支持following drivers(设置为--vm-driver=xxxxx
;默认为virtualbox
):
- virtualbox
- vmwarefusion
- kvm2
- kvm
- hyperkit
- xhyve (deprecated)
- hyperv
- none (Runs the Kubernetes components on the host and not in a VM. Using this driver requires Docker and a Linux environment
在此列表中,最适合与 MacOS 一起使用的驱动程序是:
你好,你知道我为什么会收到以下错误吗:
~ minikube start --vm-driver kvm2
minikube v1.0.0 on darwin (amd64)
Downloading Kubernetes v1.14.0 images in the background ...
Creating kvm2 VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
unsupported driver: kvm2
我已经安装:
brew update && brew install kubernetes-cli && brew cask install docker docker-machine minikube virtualbox && brew install hyperkit
根据Minikube Driver Plugin Installation:
Minikube uses Docker Machine to manage the Kubernetes VM so it benefits from the driver plugin architecture that Docker Machine uses to provide a consistent way to manage various VM providers. Minikube embeds VirtualBox and VMware Fusion drivers so there are no additional steps to use them. However, other drivers require an extra binary to be present in the host PATH.
KVM2 驱动由 minikube 团队维护。它是使用 minikube 构建、测试和发布的,但是 it's not supported by MacOS。
(我假设您使用的是 MacOS,因为您使用 brew
管理您的包)。
Minikube 支持following drivers(设置为--vm-driver=xxxxx
;默认为virtualbox
):
- virtualbox
- vmwarefusion
- kvm2
- kvm
- hyperkit
- xhyve (deprecated)
- hyperv
- none (Runs the Kubernetes components on the host and not in a VM. Using this driver requires Docker and a Linux environment
在此列表中,最适合与 MacOS 一起使用的驱动程序是: