【问题标题】:Why is microk8s failing to install?为什么microk8s无法安装?
【发布时间】:2022-01-27 04:11:36
【问题描述】:

我正在尝试将 microk8s 用于我的 dag 中的 KubernetesPodOperator。不幸的是,我似乎无法始终如一地安装它。

我正在使用自制软件来安装(或重新安装)microk8s 和 multipass。当我执行时

microk8s install --cpu=4 --mem=10000

我得到错误:

launch failed: The following errors occurred:                                   
qemu-system-aarch64: Error: HV_BAD_ARGUMENT

launch failed: instance "microk8s-vm" already exists


An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again.

(其中launch failed: instance "microk8s-vm" already exists 出现多次。)

我已尝试重新安装几次,但似乎没有帮助。有什么建议吗?

【问题讨论】:

    标签: apple-m1 microk8s macos-monterey


    【解决方案1】:

    原来我需要使用microk8s install --cpu=4 --mem=10 而不是 10000。它需要 GB,而不是 MB。我的错。不过,我希望错误消息更清晰一些。

    【讨论】:

      猜你喜欢
      • 2021-12-09
      • 1970-01-01
      • 2013-11-20
      • 2016-08-17
      • 2020-09-07
      • 2021-09-08
      • 2017-09-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多