CNI 插件失败
Pod 卡在 ContainerCreating,事件显示 failed to set up pod network、network plugin is not ready 或 CNI plugin not initialized;节点上新旧 Pod 网络不通。
kubectl describe pod <POD> -n <NS> | grep -A20 Events
kubectl -n kube-system get pods | grep -E 'calico|cilium|flannel|kube-ovn|multus'
kubectl -n kube-system logs <CNI_POD> --tail=100
节点上检查 CNI 配置:
ls -l /etc/cni/net.d/
ls -l /opt/cni/bin/
crictl pods
/etc/cni/net.d 配置缺失、冲突或权限错误。kubectl describe pod — 网络事件kubectl logs — CNI 日志crictl — 容器和 Pod 状态ip / iptables / nft — 节点网络cilium status / calicoctl — CNI 专用诊断