Interview Prep/CI/CD/Deployment Strategies and GitOps

Your Helm upgrade failed halfway. What do you do?

IntermediateScenarioDeployment Strategies and GitOps
Answer

Situation read → Partial release state.

What I'd do →

  1. helm history app -n prod to see revisions and status.
  2. helm rollback app <rev> -n prod --wait.
  3. Use helm upgrade --install --atomic --timeout 10m in CI so failures roll back automatically.
  4. Inspect with helm get manifest and kubectl describe.

Why → --atomic rolls back on failure and keeps the release usable.

Interview tip → Know pending-upgrade status recovery.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Deployment Strategies and GitOps