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

2022/2/4 23:21:13

本文主要是介绍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

 部署网络插件



这篇关于kubelet报错 no networks found in /etc/cni/net.d的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程