Skip to content

Comment on For the Love of God, Stop Using CPU Limits on Kubernetesparent

Comments

That's not what you're saying though. You're also putting requests/limits for CPU and memory in the same class, which they're not.

Lack of CPU will never cause a pod to be killed. Evicted, yes. Killed, no.

Lack of memory can cause a pod to be OOM killed. That's an entirely different failure mode.

Eviction should always be expected by your pods. They should be able to handle eviction gracefully. On the other hand, there is nothing you can do to handle an OOM kill gracefully.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.