Overview - OOMKilled containers
What is it?
OOMKilled containers are containers in Kubernetes that are stopped because they used more memory than allowed. Kubernetes monitors container memory usage and if a container exceeds its memory limit, the system kills it to protect other containers. This is called an Out Of Memory (OOM) kill. It helps keep the whole system stable by preventing one container from using too much memory.
Why it matters
Without OOMKilled handling, a single container could consume all memory on a node, causing the entire system to slow down or crash. This would disrupt all applications running on that node. OOMKilled containers help prevent this by stopping containers that use too much memory, ensuring fair resource sharing and system reliability.
Where it fits
Before learning about OOMKilled containers, you should understand Kubernetes basics like pods, containers, and resource limits. After this, you can learn about monitoring tools, resource tuning, and troubleshooting Kubernetes workloads.