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 →
- Read the changelog and upgrade notes between versions.
helm show valuesfor old and new; diff to find renamed keys; update our override file.helm diff upgradeagainst staging; watch for Deployment selector changes (immutable) or Service type changes.- Apply CRDs separately if the chart ships new ones in
crds/. - 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.
More on Releases, Upgrades & Rollbacks
A production upgrade starts failing health checks five minutes after the deploy. What do you do?BeginnerWhy would you insist on `--atomic --wait` in CI, and what is the trade-off?IntermediateYou need zero-downtime upgrades of the API with Helm. What must be true in the chart?IntermediateA pipeline was cancelled mid-upgrade and now every deploy fails with "another operation is in progress". What do you do?AdvancedA rollback is requested, but the failed release ran a migration that dropped a column. What do you do?AdvancedThe team scaled a Deployment manually to 10 replicas during a traffic spike. The next deploy scaled it back to 3. Explain and fix.Intermediate