原因为:limits和requests的值设定为一样的了,
pod request达到了limit限制,kubelet会统计到request+缓存就超限,然后触发自动重启
resources: limits: memory: 4Gi requests: memory: 4Gi
调整为
resources: limits: memory: 4Gi requests: memory: 2Gi
注意:java应用配置xmx和xms时,值建议为limit的 85%
标签:limits,ACK,重启,OOM,memory,requests,pod,4Gi,killed From: https://www.cnblogs.com/uoky/p/17516047.html