Bird
0
0

You want to upgrade your Helm release webapp to version 3 of your chart but keep the previous configuration values intact except for changing the image tag to v3. Which command achieves this safely?

hard📝 Workflow Q15 of 15
Kubernetes - Helm Package Manager
You want to upgrade your Helm release webapp to version 3 of your chart but keep the previous configuration values intact except for changing the image tag to v3. Which command achieves this safely?
Ahelm upgrade webapp ./chart --reuse-values --set image.tag=v3
Bhelm upgrade webapp ./chart --reset-values --set image.tag=v3
Chelm upgrade webapp ./chart --set image.tag=v3
Dhelm rollback webapp 3 --set image.tag=v3
Step-by-Step Solution
Solution:
  1. Step 1: Understand --reuse-values option

    This option keeps existing values from the previous release and applies new overrides.
  2. Step 2: Compare with other options

    --reset-values resets to chart defaults, losing previous config. Omitting reuse-values loses previous config. Rollback does not upgrade.
  3. Final Answer:

    helm upgrade webapp ./chart --reuse-values --set image.tag=v3 -> Option A
  4. Quick Check:

    Use --reuse-values to keep old config and override selectively [OK]
Quick Trick: Use --reuse-values with --set to keep config and update specific values [OK]
Common Mistakes:
  • Using --reset-values and losing config
  • Not using --reuse-values and losing previous settings
  • Trying rollback to upgrade

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes