Skip to content

Operations and collaboration ยท Practice and architecture

Kubernetes rollout failure: OOMKilled, failed probe or application error?

A container restart is a symptom, not a cause. Compare the replaced and new versions, then separate three questions: does the process start, does it stay alive, and should it receive traffic?

When the last termination is OOMKilled

Compare termination time with memory metrics and the container's requests and limits. Determine whether the pattern is specific to the new version, a traffic class or startup. Raising a limit may buy time, but does not explain a memory regression.

When a probe fails

Identify which probe is involved. Readiness affects traffic routing; liveness or startup failures can trigger restarts according to the configuration. Measure normal startup time and check whether the probe depends on an external service.

When the process exits itself

Compare the termination reason, previous instance logs and release configuration differences. Common differences include the image, access to a secret or a network dependency. Collect evidence before changing probes, limits and application configuration together.

Decide when users are affected

Use agreed rollback criteria if the new version harms service behavior. Verify a user journey after recovery and test the correction outside production. Fewer restarts do not by themselves prove that service is restored.

Official documentation

Discuss your infrastructure

Choose a deployment, audit or maintenance scope for your environment. HLS works remotely with teams across Poland.

Remote Kubernetes maintenance