Interview Prep/Kubernetes/Helm, operators and GitOps

A `helm upgrade` failed halfway. How do you see state and recover?

BeginnerScenarioHelm, operators and GitOps
Answer

Situation read → The release shows failed status after a timeout.

What I'd do →

  1. helm status web -n app and helm history web -n app
  2. kubectl get pods to see what is broken
  3. helm rollback web 3 -n app --wait to the last good revision
  4. Fix the chart or values and retry with helm upgrade --install --atomic --timeout 5m
  5. Use helm get manifest to compare

Why → Helm keeps revisions as Secrets, so rollback is a re-apply of an older manifest.

Interview tip → Mention --atomic auto-rolls back on failure.

All Kubernetes questions Roadmap: Platform engineering

More on Helm, operators and GitOps