pod一直处于ContainerCreating,event显示cannot allocate memory

本文探讨了KDPod中遇到的内存泄露问题,通过分析event详细信息,重点讲述了如何定位问题并提供临时重启服务器作为解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

kd pod看到的event为:

Events:
  Type     Reason                    Age                  From                               Message
  ----     ------                    ----                 ----                               -------
  Warning  FailedScheduling          100s (x2 over 100s)  default-scheduler                  pod has unbound immediate PersistentVolumeClaims (repeated 2 times)
  Normal   Scheduled                 99s                  default-scheduler                  Successfully assigned fdcd0208ccfaf480899627bfd6dff5938/buildpacklinux-cf76ddcfc-8xvdg to n1.business2.dc1.dogfood
  Warning  FailedCreatePodContainer  9s (x8 over 99s)     kubelet, n1.business2.dc1.dogfood  unable to ensure pod container exists: failed to create container for [kubepods besteffort podc8c7e174-2b0e-4e2c-b180-98bc98a2205b] : mkdir /sys/fs/cgroup/memory/kubepods/besteffort/podc8c7e174-2b0e-4e2c-b180-98bc98a2205b: cannot allocate memory

根据这里排查  说是内存泄露

相关参考

 Try to Fix Two Linux Kernel Bugs While Testing TiDB Operator in K8s | PingCAP

临时办法

直接重启服务器,即可解决这个问题

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值