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



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

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

《kubernetes的node NotReady》上有3条评论

  1. 下面的回复中有写道:

    Note that KUBELET_NETWORK_ARGS is what tells kubelet which kind of network plugin to expect. If you remove it then kubelet expects no plugin, and therefore you get whatever the underlying container runtime gives you: typically Docker “bridge” networking.

    This is fine in some cases, particularly if you only have one machine. It is not helpful if you actually want to use CNI.


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