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.
More on Release Engineering and Progressive Delivery
How do you do zero-downtime deployments on Kubernetes?IntermediateHow do you implement a canary release with Argo Rollouts and automated analysis?AdvancedHow do you roll back safely when a deploy includes a database migration?AdvancedHow do you handle hotfixes in a trunk-based flow?IntermediateHow do you version and release libraries versus services?IntermediateWhat does a release train look like and when is it appropriate?Intermediate