k8s中node节点出现NotReady状态的解决方法
xZXzX
·
describe node中发现
cni config uninitialized KubeletNotReady runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
这个时候也许是因为你的node节点中没有安装相应的cni模块。这个时候需要做如下操作:
sudo mkdir -p /opt/cni/bin
cd /opt/cni/bin
然后接下来去下载相应的压缩包
https://github.com/containernetworking/plugins/releases
下载一个https://github.com/containernetworking/plugins/releases/download/v0.8.7/cni-plugins-linux-amd64-v0.8.7.tgz
然后将其解压在/opt/cni/bin下就可以了。
更多推荐
已为社区贡献82条内容
所有评论(0)