[英]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.