Introduction

OOMKill is a common problem when running workloads on Kubernetes.

Linux OOM Killer

Linux may terminate processes when the system runs out of available memory.

Kubernetes Memory Limits

For example:

1
2
3
4
5
resources:
  requests:
    memory: 256Mi
  limits:
    memory: 512Mi