简体   繁体   English

为什么microk8s无法安装?

[英]Why is microk8s failing to install?

I'm trying to use microk8s for my KubernetesPodOperator in my dag.我正在尝试将 microk8s 用于我的 dag 中的 KubernetesPodOperator。 Unfortunately I can't seem get it to install consistently.不幸的是,我似乎无法始终如一地安装它。

I'm using homebrew to install (or reinstall) microk8s and multipass.我正在使用自制软件安装(或重新安装)microk8s 和多通道。 When I execute当我执行

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

I get the errors:我得到错误:

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.

(where launch failed: instance "microk8s-vm" already exists appears several times.) launch failed: instance "microk8s-vm" already exists多次出现。)

I've tried reinstalling both several times and that doesn't appear to help.我已经尝试过多次重新安装,但这似乎没有帮助。 Any advice?有什么建议吗?

Turns out I need to be using microk8s install --cpu=4 --mem=10 not 10000. It wants GB, not MB.原来我需要使用microk8s install --cpu=4 --mem=10而不是 10000。它需要 GB,而不是 MB。 My bad.我的错。 I wish the error message was a little clearer though.我希望错误消息更清楚一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 未能在 Mac(Apple M1)上安装 opencv4nodejs 会引发找不到路径错误 - Failing to install opencv4nodejs on Mac (Apple M1) throws path not found error 我正在从 ReactJS 构建我的 docker 图像,为什么我的 docker 构建失败? - I am building my docker image from ReactJS, why is my docker build failing? “brew install python”安装 3.9。 为什么不是 3.10? - "brew install python" installs 3.9. Why not 3.10? 如何在 MacOs 中为 python 的虚拟环境安装 pyzmq? - How to install pyzmq for python's virtual environment in MacOs? 我如何告诉新的 M1 Homebrew 安装旧的 Intel Homebrew 的公式? - How do I tell the new M1 Homebrew to install the old Intel Homebrew's formulae? 我无法在带有 monterey 的 macbook air m1 中安装 phalcon php.. 为什么? - I can't install phalcon php in macbook air m1 with monterey.. why? 无法在 m1 Apple silicon 上安装 python 3.10.0 - ld:找不到体系结构 x86_64 的符号 - Cannot install python 3.10.0 on m1 Apple silicon - ld: symbol(s) not found for architecture x86_64 Bazel 在 Apple Mac M1 上构建失败 - Bazel build failing on Apple Mac M1 在 Apple Silicon 上安装 Matplotlib - Install Matplotlib on Apple Silicon Pod install 因找不到尝试安装解析的资源而出现错误 - Pod install gives error for not finding resources trying to install parse
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM