Crashloopbackoff or RunContainerError

Why it's happening

Your workload's pods are repeatedly crashing, even after attempting to restart them.

The most common reasons why this happens:

  1. Application error

  2. Missing environment variable required by the application

  3. Invalid container command

  4. Pod's readiness probe is failing

Troubleshooting

Click on your workload in Infra App and view the pod statuses:

Next, check the events tab. Often, events will include the reason your pod is crashing:

Last, check the logs tab. Often, your app will output an error as it crashes detailing what happened.