ContainerOOMKilled
  • 19 May 2025
  • 1 Minute to read
  • Contributors
  • PDF

ContainerOOMKilled

  • PDF

Article summary

Meaning

This alert is triggered when a container is terminated due to an out-of-memory (OOM) condition and has restarted within the last minute. It highlights memory pressure or misconfigured resource limits. The alert continues firing for 5 minutes to ensure visibility.

Full context

Containers can be OOMKilled by the Kubernetes runtime when they exceed their memory limit. If this occurs repeatedly, it may cause application instability or degraded performance.

Impact

  • Application instability due to container restarts.
  • Potential service disruption or unavailability.
  • Memory thrashing and performance degradation on the node.

Diagnosis

  • Identify the affected namespace, pod, and container from the alert.
  • Check the pod’s memory limits and actual memory usage.
  • Inspect container logs before the crash for memory-intensive operations or leaks.
  • Use metrics or dashboards to assess memory trends over time.

Mitigation

  • Increase memory limits if the usage is legitimate and sustainable.
  • Optimize application memory usage or fix memory leaks.
  • Consider horizontal scaling if workload spikes are expected.
  • Monitor node memory pressure to avoid cascading OOMs across other pods.

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.