Applying your `PrometheusRule` fails with `admission webhook "prometheusrulevalidate.monitoring.coreos.com" denied the request: Rules are not valid`.
BeginnerTroubleshootingBurn-Rate Alerts & Alertmanager
Answer
Likely causes → The Prometheus Operator's admission webhook found invalid PromQL or invalid rule fields (wrong indentation, expr missing, invalid duration like for: 2min).
Diagnose →
yq '.spec' checkout-slo.yaml > /tmp/rules.yaml
promtool check rules /tmp/rules.yaml
Fix → Fix the reported expression or field (durations use 2m, not 2min) and reapply.
Prevent → Keep rules as plain Prometheus rule files tested with promtool, and wrap them into the CRD in CI.
More on Burn-Rate Alerts & Alertmanager
The burn-rate alert sits in `Pending` for the whole incident and never reaches `Firing`.IntermediateAfter a rollback fixed the incident, the page kept firing for another 50 minutes.IntermediateCheckout was completely down for 25 minutes and no burn-rate alert fired.AdvancedThe alert shows `Firing` in Prometheus, but Alertmanager's UI shows nothing.BeginnerAlertmanager won't load the new config: `undefined receiver "pager" used in route`.BeginnerAlertmanager logs `Notify for alerts failed` with `unexpected status code 404: no_service` for the Slack receiver.Beginner