gpt4 book ai didi

ubuntu - VMWare 工作站 Ubuntu 18.04 - Minikube : Error creating VM:

转载 作者:行者123 更新时间:2023-12-02 11:54:19 26 4
gpt4 key购买 nike

我正在尝试在运行 Ubuntu 18.04 的 VMWare Workstation guest 中运行 Minikube。
kubectl version结果是:
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.0", GitCommit:"0ed33881dc4355495f623c6f22e7dd0b7632b7c0", GitTreeState:"clean", BuildDate:"2018-09-27T17:05:32Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
minikube version结果是:

minikube version: v0.29.0

我在 VMWare guest 配置上启用了 Virtualize Intel VT-x/EPT 或 AMD-V/RVI。我有 25GB 的硬盘空间。然而,无论我如何尝试启动 Minikube,我都会收到以下错误:
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
E1005 11:02:32.495579 5913 start.go:168] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: Error creating VM: virError(Code=1, Domain=10, Message='internal error: qemu unexpectedly closed the monitor: 2018-10-05T09:02:29.926633Z qemu-system-x86_64: error: failed to set MSR 0x38d to 0x0
qemu-system-x86_64: /build/qemu-11gcu0/qemu-2.11+dfsg/target/i386/kvm.c:1807: kvm_put_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.').

Retrying.

我试过的命令:
minikube start --vm-driver=kvm2

minikube start --vm-driver=kvm

minikube start --vm-driver=none

所有的结果都是一样的。

我注意到在 Ubuntu 客户机上,当我运行 minikube start 时,网络将很快断开并重新连接。 .是网络驱动的问题吗?我将如何调试这个?

最佳答案

显然,将 virtualbox 作为依赖项用作 vm 驱动程序是可行的。
sudo apt install virtualbox virtualbox-ext-packminikube start --vm-driver=virtualbox
现在结果:

Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Downloading kubeadm v1.10.0
Downloading kubelet v1.10.0
Finished Downloading kubelet v1.10.0
Finished Downloading kubeadm v1.10.0
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...

ETC

关于ubuntu - VMWare 工作站 Ubuntu 18.04 - Minikube : Error creating VM:,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52662051/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com