扩容节点后pod无法获取到IP,导致CrashLoopBackO

2023-09-06  本文已影响0人  by丶无名
现象: image.png

pod一直在CrashLoopBackOff,且没有IP,事件提示pod被改变

kubelet日志提报:
failed to read pod IP from plugin/docker: Couldn't find network status for xxxxxx/xxxxxx through plugin: invalid network status for

kubelet添加--network-plugin并重启后正常
/usr/lib/systemd/system/kubelet.service
--network-plugin=cni
systemctl restart kubelet
ture> The name of the network plugin to be invoked for various events in kubelet/pod lifecycle. This docker-specific flag only works when container-runtime is set to docker.
ture>在kubelet/pod生命周期中为各种事件调用的网络插件的名称。只有当容器运行时设置为docker时,这个特定于docker的标志才起作用。

上一篇 下一篇

猜你喜欢

热点阅读