Interview Prep/CI/CD/Release Engineering and Progressive Delivery

How do you design an automated rollback trigger?

AdvancedProductionRelease Engineering and Progressive Delivery
Answer

Define SLO-based signals evaluated during and after rollout: error rate, p95/p99 latency, saturation, crash loops, and a key business metric (checkout success). Compare canary against baseline rather than absolute thresholds, to account for normal variation, and require sustained breach over a window to avoid flapping. The tooling (Argo Rollouts analysis, Flagger, Spinnaker Kayenta) triggers rollback; the pipeline also gates on kubectl rollout status and post-deploy smoke tests, and pages a human if automated rollback itself fails.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Release Engineering and Progressive Delivery