An exit code is a pointer, not a cause

137 and 143 both mean something stopped your container rather than it finishing. What each one narrows the field to, why 137 is not always out of memory, and why 143 during a deploy is usually nothing.

What do exit codes 137 and 143 tell me during an incident?

Both mean the process was stopped by a signal rather than finishing on its own. 143 is a SIGTERM, which is usually something asking the container to shut down and 137 is a SIGKILL, which is not a request. Neither is the cause, so treat the code as a pointer to who did the stopping.

Where the number comes from

An exit code above 128 means a signal ended the process, and the signal number is the code minus 128. 143 is 128 plus 15, which is SIGTERM. 137 is 128 plus 9, which is SIGKILL. That is the whole arithmetic, and it is why these two codes turn up far more than any others.

143 is a request. 137 is not

SIGTERM asks a process to stop and lets it close connections and flush what it is holding. SIGKILL gives it nothing: no cleanup, no final log line, which is why a 137 so often leaves you with no explanation in the container's own output.

What each one narrows it to

143 during a rollout

Almost always normal. A deploy stops old pods with SIGTERM, so the code appears every time you ship. It is worth attention when it appears with no deploy anywhere near it.

143 with no deploy

Something else asked for the shutdown: a drain, a scale down, an eviction, or an operator acting on the workload. Look at what else happened on that node at that moment.

137 with reason OOMKilled

The container went over its memory limit. That is the one case where the code really does name the cause, and OOMKilled is the page for it.

137 with no OOMKilled reason

The usual culprit is a liveness probe restarting a container that did not answer in time, or a SIGTERM that was ignored until the grace period ran out and the kubelet escalated. Both are fixable in the manifest rather than the application.

The order to check in

  • Read the reason field next to the code. It is the part that separates the cases.
  • Check whether a deploy, drain or scaling event lines up with the timestamp.
  • If a probe is configured, compare its timeout with how long the application really takes under load.
  • Only then go looking for memory.

What KubeGraf does with this one

The code alone is rarely enough, so KubeGraf attaches what happened around it: the reason, the probe configuration, recent rollouts and the node's own state. The code becomes a pointer to evidence rather than the end of the investigation.

The reference

The full breakdown of both codes is on the reference page: Exit codes 137 and 143.

Sources

Read on 25 November 2026. Check the source before you rely on a detail.

Frequently asked questions

What is the difference between SIGKILL and SIGTERM in Kubernetes?

SIGTERM asks the process to stop and lets it clean up. SIGKILL ends it immediately with no chance to do anything, which is what a container sees as 137.

Why did my container exit with 143 during a deploy?

A rollout stops old pods with SIGTERM, so 143 during a deploy is often the normal shutdown path. It matters when it appears outside a deploy.

Does 137 mean I am out of memory?

Not by itself. The out of memory killer sends SIGKILL, but so does the kubelet when a container ignores SIGTERM past its grace period.

Where do I see which signal stopped a container?

In the last state on the pod, which carries both the exit code and a reason. The reason is the part that names the cause.

Want this worked for you on your own clusters? Apply for KubeGraf Freemium. Three calendar months by approval, no card and no automatic paid conversion.

Last updated . Try KubeGraf Freemium.