Interview Prep/CI/CD/Secrets, Security and Pipeline Performance

Production deploy failed halfway across five regions. How do you recover and prevent the mixed state?

AdvancedTroubleshootingSecrets, Security and Pipeline Performance
Answer

Likely causes → No wave gating, non-atomic multi-region rollout, no health gates.

Diagnose → List the version per region (kubectl --context region-x get deploy app -o jsonpath='{.spec.template.spec.containers[0].image}'), check alarms.

Fix → Pause the rollout, then either roll forward the failed regions or roll back the updated ones to the last good digest.

Prevent → Wave-based rollout with automated bake time, health gates, and per-region rollback.

All CI/CD questions

More on Secrets, Security and Pipeline Performance