Weather Backend Health Check Runbook
When To Use
Section titled “When To Use”Use this runbook when the backend health endpoint fails or an application availability alert fires.
Procedure
Section titled “Procedure”-
Check the health endpoint.
Terminal window curl --fail --silent --show-error "$BACKEND_URL/health"Expected result: a JSON payload with healthy status.
-
Check container or pod status.
Terminal window kubectl get pods -n weather-prod -l app.kubernetes.io/component=backendExpected result: pods are
Runningand ready. -
Inspect recent logs.
Terminal window stern backend -n weather-prod --since 10mExpected result: no repeated startup failures, token errors or uncaught exceptions.
If This Does Not Work
Section titled “If This Does Not Work”Escalate with the failing health output, pod status and last ten minutes of backend logs.