Interview Prep/Helm/Releases, Upgrades & Rollbacks

A production upgrade starts failing health checks five minutes after the deploy. What do you do?

BeginnerScenarioReleases, Upgrades & Rollbacks
Answer

Situation read → The new revision is live and degrading; restore service first, investigate second.

What I'd do →

  1. helm history shop -n shop to find the last good revision.
  2. helm rollback shop <rev> -n shop --wait --timeout 5m.
  3. Confirm: kubectl rollout status deploy/shop-api -n shop, error rates back to normal.
  4. Then compare: helm diff revision shop <good> <bad> and look at logs from the failed pods.
  5. Fix forward in a new chart or image version.

Why → Rollback is the fastest mitigation, as long as the change was backward compatible.

Interview tip → Say "mitigate, then diagnose", and mention checking DB compatibility before rolling back.

All Helm questions Roadmap: Helm

More on Releases, Upgrades & Rollbacks