The container ran and then terminated with a non-zero exit code (or with a reason such as Error, ContainerCannotRun, or DeadlineExceeded). This indicates an application or runtime failure rather than a pull or config issue.
Warning
N/A
- Report shows: Container terminated with reason and exit_code
kubectl describe podshows state.terminated with exitCode and optional reason/message
- Check logs:
kubectl logs <ns>/<name> -c <container> --previous - Use the exit code and message to identify the failure (e.g. 1 = general error, 137 = OOMKilled, 143 = SIGTERM)
- Fix the application code, startup command, or runtime config (e.g. invalid args, missing file, permission error)
- For DeadlineExceeded, consider increasing activeDeadlineSeconds or fixing the workload so it completes in time