kubelet启动报错(1)

1. Failed to start ContainerManager failed to initialize top level QOS containers: failed to update top level BestEffort QOS cgroup : failed to set supported cgroup subsystems for cgroup [kubepods besteffort]: failed to find subsystem mount for required subsystem: pids

具体错误原因参考:https://github.com/kubernetes/kubernetes/issues/79046

kubelet配置参考:https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/

解决方法:

1)找到kubelet启动配置文件:find / name kubelet

2)修改配置文件:vim /etc/sysconfig/kubelet

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

你可能感兴趣的:(K8s)