How do you handle emergency rollbacks when the CI/CD system is down?
AdvancedProductionRelease Engineering and Progressive Delivery
Answer
Keep a rehearsed break-glass procedure: any engineer on call can run a documented command with a dedicated, audited credential to redeploy a previously released artifact (helm rollback, kubectl rollout undo, or flipping the load balancer weights), independent of the CI system. Access is time-boxed and alerts the security channel when used. Afterwards, reconcile the state with Git (commit what was changed) so GitOps does not revert it, and review why the standard path was unavailable.
helm history shop-api -n shop
helm rollback shop-api 41 -n shop --wait
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 design an automated rollback trigger?AdvancedHow do you handle hotfixes in a trunk-based flow?IntermediateHow do you version and release libraries versus services?Intermediate