k8s报错failed to run Kubelet: running with swap on is not supported, please disable swap
解决办法。
·
kubelet.service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
failed to run Kubelet: running with swap on is not supported, please disable swap
解决办法
2、修改/etc/sysconfig/kubelet
vi /etc/sysconfig/kubelet
添加如下配置项
KUBELET_EXTRA_ARGS="--fail-swap-on=false"
3、重置kubeadm
kubeadm reset
更多推荐
已为社区贡献1条内容
所有评论(0)