NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized“

执行systemctl status kubelet -l 可以看到更多报错信息,我的是cni配置问题文件校验没通过

Mar 02 17:00:50  kubelet[270466]: E0302 17:00:50.725250  270466 pod_workers.go:836] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin >
Mar 02 17:00:51  kubelet[270466]: I0302 17:00:51.705362  270466 cni.go:204] "Error validating CNI config list" configList="{\n  \"cniVersion\": \"0.8.2\",        \n  \"name\": \"cbr0\",\n  \"plugins\": [\n    {\n      \"type\": \"flannel\",\n      \"delegat>
Mar 02 17:00:51  kubelet[270466]: I0302 17:00:51.705408  270466 cni.go:239] "Unable to update cni config" err="no valid networks found in /etc/cni/net.d"
Mar 02 17:00:52  kubelet[270466]: E0302 17:00:52.725562  270466 pod_workers.go:836] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin >
Mar 02 17:00:54  kubelet[270466]: E0302 17:00:54.725960  270466 pod_workers.go:836] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin >
Mar 02 17:00:55  kubelet[270466]: E0302 17:00:55.075125  270466 kubelet.go:2337] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"
Mar 02 17:00:56  kubelet[270466]: I0302 17:00:56.712479  270466 cni.go:204] "Error validating CNI config list" configList="{\n  \"cniVersion\": \"0.8.2\",        \n  \"name\": \"cbr0\",\n  \"plugins\": [\n    {\n      \"type\": \"flannel\",\n      \"delegat>
Mar 02 17:00:56  kubelet[270466]: I0302 17:00:56.712525  270466 cni.go:239] "Unable to update cni config" err="no valid networks found in /etc/cni/net.d"

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值