gpt4 book ai didi

kubernetes - 如何使用 minikube start 修复 VM 问题?

转载 作者:行者123 更新时间:2023-12-04 00:25:17 27 4
gpt4 key购买 nike

我是 Kubernetes 的初学者,从 this 开始教程。我安装了 VM并希望能够使用以下命令启动集群:

minikube start

但我收到错误:
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
E0911 13:34:45.394430 41676 start.go:174] Error starting host: Error
creating host: Error executing step: Creating VM.
: Error setting up host only network on machine start: The host-only
adapter we just created is not visible. This is a well known
VirtualBox bug. You might want to uninstall it and reinstall at least
version 5.0.12 that is is supposed to fix this issue.

它说这是 Virtualbox 中的一个众所周知的错误,但我安装了它的最新版本。有任何想法吗?

最佳答案

想通了这个问题。 VirtualBox 没有正确安装,因为 Mac 阻止了它。一开始并不明显。

  • 如果 VirtualBox 安装不正确,重新启动将不起作用。
  • 系统偏好设置 -> 安全和隐私 -> 允许 -> 然后允许软件公司(在本例中为 Oracle)
  • 重启

  • 现在它按预期工作。

    关于kubernetes - 如何使用 minikube start 修复 VM 问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52277019/

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