Interview Prep/Monitoring & Observability/Grafana, Dashboards and Kubernetes Monitoring

CrashLoopBackOff pods go unnoticed for hours in dev and staging. How do you surface them without paging?

BeginnerScenarioGrafana, Dashboards and Kubernetes Monitoring
Answer

Situation read → Non-prod issues need visibility but not 3 a.m. pages.

What I'd do →

  1. Alert on kube_pod_container_status_waiting_reason{reason="CrashLoopBackOff"} == 1 for 15m.
  2. Route env!="prod" alerts to a team Slack channel, not PagerDuty.
  3. Include namespace, pod and a link to logs in the message.

Why → Catching problems in staging prevents them reaching production.

Interview tip → Routing by environment is a basic Alertmanager pattern worth showing.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana, Dashboards and Kubernetes Monitoring