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 →
- Alert on
kube_pod_container_status_waiting_reason{reason="CrashLoopBackOff"} == 1for 15m. - Route
env!="prod"alerts to a team Slack channel, not PagerDuty. - 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.
More on Grafana, Dashboards and Kubernetes Monitoring
Grafana has 900 dashboards and nobody can find anything. How do you clean it up?IntermediateHow do you manage Grafana dashboards as code?IntermediateDesign a service overview dashboard that an on-call engineer can read in 10 seconds.BeginnerYou need to show deploy events on every Grafana graph. How?BeginnerPods are being OOMKilled but the memory graph never reaches the limit. Why?IntermediateHow do you detect CPU throttling hurting latency in Kubernetes?Intermediate