kubernetes calico 网络管理containerd 运行时导致的 calico driver 无法启动FAQ
环境配置
相关报错
Apr 07 18:29:58 m3 kubelet[201514]: E0407 18:29:58.276500 201514 kubelet.go:2902] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
Apr 07 18:29:59 m3 kubelet[201514]: E0407 18:29:59.175080 201514 pod_workers.go:1301] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" pod="calico-system/csi-node-driver-bvcq9" podUID="4caf0606-6d59-4317-acb5-83b96f7667df"
Apr 07 18:30:01 m3 kubelet[201514]: E0407 18:30:01.175792 201514 pod_workers.go:1301] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" pod="calico-system/csi-node-driver-bvcq9" podUID="4caf0606-6d59-4317-acb5-83b96f7667df"
Apr 07 18:30:03 m3 kubelet[201514]: E0407 18:30:03.175046 201514 pod_workers.go:1301] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized" pod="calico-system/csi-node-driver-bvcq9" podUID="4caf0606-6d59-4317-acb5-83b96f7667df"
Apr 07 18:30:03 m3 kubelet[201514]: E0407 18:30:03.277883 201514 kubelet.go:2902] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
问题处理
systemctl restart containerd
github
- https://github.com/projectcalico/calico/issues/8694