kubernetes的node NotReady

使用 kubectl describe node <node name>可以看到

KubeletNotReady runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

参考:https://github.com/kubernetes/kubernetes/issues/48798#issuecomment-367966047

1.删除/etc/systemd/system/kubelet.service.d/10-kubeadm.conf里最后一行里的$KUBELET_NETWORK_ARGS

2.重启kubelet  systemctl enable kubelet && systemctl start kubelet

3.重新加入 kubeadm reset || kubeadm join ….

One thought on “kubernetes的node NotReady”

发表评论

电子邮件地址不会被公开。 必填项已用*标注