美文网首页
扩容节点后pod无法获取到IP,导致CrashLoopBackO

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

作者: by丶无名 | 来源:发表于2023-09-06 15:56 被阅读0次
现象: 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的标志才起作用。

相关文章

  • k8s网络-pod(calico)

    1. pod IP生成 分配原则:calico写入etcd,每个节点一个IP段 2. pod路由 查看pod的路由...

  • k8s集群相关对象

    1.ReplicationController扩容和缩容: 2.获取pod所对应的IP和容器内部所需要监听的端口,...

  • k8s集群calico网络故障记录

    报错 访问k8s的dashboard界面无法访问网站,查看pod未知原因导致calico的Pod资源重新创建后无法...

  • Kubernetes中Service机制

    Service Pod的IP是在docker0网段动态分配的,当发生重启,扩容等操作时,IP地址会随之变化。当某个...

  • node(s) had taints that the pod

    今天创建完集群后,一个pod一直是pending状态,describe pod: 直译意思是节点有了污点无法容忍,...

  • pod setup 及 pod lib lint 的土亢

    Mac 系统升级后可能导致 pod 指令无法被识别,终端下执行:(亲测可用) pod 版本落后太多,需要升级 过程...

  • helm Get https://10.96.0.1:443/a

    环境安装好后,重启过服务,导致helm list提示如下错误: 将tiller的pod迁移到master节点 ku...

  • OpenShift自带的日志搜索引擎ES服务的扩容

    有以下两种扩容方式: 存储扩容 节点扩容 存储扩容 查看集群的状态 停止ES节点分片平衡 为每个ES节点的DC执行...

  • k8s关于Orphaned pod <pod_id> found

    问题描述因k8s节点异常关机导致启动后业务Pod重新部署,关机之前的Pod状态已被删除,今天在查看日志时发现在异常...

  • k8s的Service详解

    一、为什么需要Service? Pod是非永久性资源,会动态创建和销毁,pod的ip会变化。这会导致一类Pod(业...

网友评论

      本文标题:扩容节点后pod无法获取到IP,导致CrashLoopBackO

      本文链接:https://www.haomeiwen.com/subject/ntgkvdtx.html