ubuntu - 在 Ubuntu vm_VT-X/AMD-v 中安装 Minikube 启用另一个 VM 中的 VM

标签 ubuntu kubernetes minikube

<分区>


这个问题似乎不是关于 a specific programming problem, a software algorithm, or software tools primarily used by programmers 的.如果您认为这个问题是关于 another Stack Exchange site 的主题,您可以发表评论,说明问题可能在哪里得到解答。

关闭 2 年前

我正在尝试在 Ubuntu 虚拟机(在虚拟框中)中安装 minikube。我为虚拟机启用了 VT-X/AMD-v。但是我遇到了以下错误。

# minikube start
Starting local Kubernetes cluster...
E0217 15:00:35.395801    3869 start.go:107] Error starting host: Error creating host: Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory".

 Retrying.
E0217 15:00:35.396019    3869 start.go:113] Error starting host:  Error creating host: Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"
================================================================================
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
    minikube config set WantReportErrorPrompt false
================================================================================
Please enter your response [Y/n]:

我找到了一个 reference ,据此,我们不能在虚拟化中进行虚拟化。是真的吗?我该如何解决这个问题?

最佳答案

Virtual Box 在嵌套虚拟化中不支持 VT-X/AMD-v。看到这个打开ticket/feature request在 virtualbox.org 上。

这里还有一些关于 SO 讨论 this 的问题和答案topic .

可能的解决方案:

  1. 如前所述:使用不同的管理程序,在嵌套虚拟化(如 Xen、KVM 或 VMware)中支持 VT-X/AMD-v。
  2. 在主机操作系统上安装 Minikube,而不是在虚拟机中。
  3. 使用 Docker 和“无”驱动程序选项直接运行 Minikube,如 Tad Guskis answer 中所述.

关于ubuntu - 在 Ubuntu vm_VT-X/AMD-v 中安装 Minikube 启用另一个 VM 中的 VM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42294304/

上一篇:eclipse 不适用于 ubuntu 16.04

下一篇:ubuntu - PIP 找不到任何满足 SQLAlchemy 要求的下载

相关文章:

docker - Kubectl 在通过 minikube 创建部署时抛出 ImagePullBackOff 错误

macos - 如何在 Mac OS 上安装特定版本的 minikube?

ubuntu - 在 jenkins 中配置 Docker 主机

带有 OpenMP 的 C++ 尽量避免紧密循环数组的错误共享

Kubernetes 集群坏了 : FailedSync and SandboxChanged

kubernetes - 警告 : Rejected - All hosts are taken by other resources

kubernetes - PHP 本地开发 - minikube 还是 docker-compose?

python - 尝试在 ubuntu 上安装 pygame 出现错误

python - PyQt5 QFileDialog 在 ubuntu 中没有返回正确的路径

由部署创建创建的 kubernetes API 对象