Kubernetes 工作节点状态 NotReady

问题描述

我的 Kubernetes 工作节点状态未准备好。我正在使用两台 Ubuntu 机器。一个主节点和一个工作节点。我在 sudo kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml 之后通过 sudo kubeadm init --pod-network-cidr=10.244.0.0/16 在主节点上添加了法兰绒。

我从主节点得到的信息:

enter image description here

enter image description here

从工作节点,我得到:

enter image description here

正如它所说,container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized 另外,工作节点说 Unable to update cni config" err="no networks found in /etc/cni/net.d 应该是他们的原因吗?

这也是我在主节点和工作节点上通过 ps -ef | grep kubelet 得到的

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)