k8wiz
Kubernetes
Easy
Troubleshooting

A Kubernetes container shows reason OOMKilled with exit code 137. What does the exit code 137 tell you?

Select your answer:

Show answer and explanation

Answer: The process was killed by SIGKILL, signal 9

Explanation

A process killed by a signal reports an exit code of 128 plus the signal number, and 128 + 9 = 137. The kernel OOM killer uses SIGKILL, which can't be caught. SIGTERM would give 143, and a SIGKILL can also come from the kubelet after a grace period runs out, so check the OOMKilled reason too.

Read more about Kubernetes