其他分享
首页 > 其他分享> > kubelet报错 no networks found in /etc/cni/net.d

kubelet报错 no networks found in /etc/cni/net.d

作者:互联网


Feb 04 06:24:56 slave1-local kubelet[52928]: E0204 06:24:56.809232   52928 kubelet.go:2183] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network>
Feb 04 06:24:59 slave1-local kubelet[52928]: W0204 06:24:59.512705   52928 cni.go:239] Unable to update cni config: no networks found in /etc/cni/net.d
Feb 04 06:25:01 slave1-local kubelet[52928]: E0204 06:25:01.823177   52928 kubelet.go:2183] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network>
 

解决方法:vim /var/lib/kubelet/kubeadm-flags.env

删除其中的 --network-plugin=cni

重启kubelet

 部署网络插件

标签:24,06,52928,kubelet,no,etc,报错,network,cni
来源: https://blog.csdn.net/weixin_40548480/article/details/122786504