Interview Prep/Helm/Install & Upgrade Failures

After an upgrade, the new chart version deployed but pods still run the old image.

IntermediateTroubleshootingInstall & Upgrade Failures
Answer

Likely causes → The image tag did not change in the render (tag comes from values, but appVersion was bumped; or the reverse), --reuse-values kept the old tag, or the tag is mutable (latest) with IfNotPresent pull policy.

Diagnose →

helm get values shop -n shop --all | yq '.api.image'
helm get manifest shop -n shop | grep 'image:'
kubectl get pods -n shop -o jsonpath='{range .items[*]}{.spec.containers[*].image}{"\n"}{end}'

Fix → Pass the tag explicitly (--set-string api.image.tag=...) or default to .Chart.AppVersion consistently; drop --reuse-values; use immutable tags.

Prevent → Unique immutable tags per build and a clear single source of truth for the tag.

All Helm questions Roadmap: Helm

More on Install & Upgrade Failures