What happens on a container OOMKill versus node-pressure eviction?
IntermediateConceptScheduling, Resources & Autoscaling
Answer
OOMKill is the kernel killing a container that exceeded its cgroup memory limit (exit code 137, Reason: OOMKilled) and the container restarts. Node-pressure eviction is the kubelet proactively evicting whole Pods when node memory, disk or PIDs cross eviction thresholds; the Pod is marked Failed with reason Evicted and rescheduled by its controller.