使用kubeadm 安装k8s集群后,加载calico cni 网络组件后,master节点notready问题
表现为:
使用命令查看日志:journalctl -f -u kubelet
报错如下:
Failed to start ContainerManager failed to initialize top level QOS containers: 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
此问题解决方案为:文章来源:https://www.toymoban.com/news/detail-815686.html
echo 'KUBELET_EXTRA_ARGS="--feature-gates SupportPodPidsLimit=false --feature-gates SupportNodePidsLimit=false"' > /etc/sysconfig/kubelet
systemctl stop kubelet
systemctl start kubelet
systemctl status kubelet
再次查看nodes状态,发现文件POD全部加载成功,nodes状态也正常了。文章来源地址https://www.toymoban.com/news/detail-815686.html
到了这里,关于kubeadm 安装k8s集群后,master节点notready问题解决方案的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!