Skip to content

Weather Backend Health Check Runbook

Use this runbook when the backend health endpoint fails or an application availability alert fires.

  1. Check the health endpoint.

    Terminal window
    curl --fail --silent --show-error "$BACKEND_URL/health"

    Expected result: a JSON payload with healthy status.

  2. Check container or pod status.

    Terminal window
    kubectl get pods -n weather-prod -l app.kubernetes.io/component=backend

    Expected result: pods are Running and ready.

  3. Inspect recent logs.

    Terminal window
    stern backend -n weather-prod --since 10m

    Expected result: no repeated startup failures, token errors or uncaught exceptions.

Escalate with the failing health output, pod status and last ten minutes of backend logs.