k8s版本 1.16.4

集群资源已达到上限,添加一台node节点,添加后,kubelet无法启动,报错如下

failed to update top level Burstable QOS cgroup :
failed to set supported cgroup subsystems for cgroup
[kubepods burstable]: failed to find subsystem mount for required subsystem: pids

解决:

在/etc/sysconfig/kubelet 下添加

KUBELET_EXTRA_ARGS="--feature-gates SupportPodPidsLimit=false --feature-gates SupportNodePidsLimit=false"

源文件中的值为空

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐