Interview Prep/Helm/Releases, Upgrades & Rollbacks

How do you safely upgrade a third-party chart across a major version (for example ingress-nginx)?

AdvancedScenarioReleases, Upgrades & Rollbacks
Answer

Situation read → Major versions may rename values, change selectors or bump CRDs.

What I'd do →

  1. Read the changelog and upgrade notes between versions.
  2. helm show values for old and new; diff to find renamed keys; update our override file.
  3. helm diff upgrade against staging; watch for Deployment selector changes (immutable) or Service type changes.
  4. Apply CRDs separately if the chart ships new ones in crds/.
  5. Upgrade staging, run smoke tests, then prod in a window with a rollback plan.

Why → Most major-upgrade outages come from silent value renames or immutable fields.

Interview tip → Mention CRDs not being upgraded by Helm.

All Helm questions Roadmap: Helm

More on Releases, Upgrades & Rollbacks