Bird
0
0

Given the following commands executed in order:

medium📝 Command Output Q13 of 15
Kubernetes - Helm Package Manager
Given the following commands executed in order:
helm install myapp ./chart
helm upgrade myapp ./chart --set image.tag=v2
helm rollback myapp 1
helm status myapp
What will be the image tag shown in the status output after the rollback?
ANo image tag shown
Bv2 (tag set during upgrade)
Cv3 (latest tag automatically applied)
Dv1 (original tag from install)
Step-by-Step Solution
Solution:
  1. Step 1: Understand the sequence of commands

    First, the app is installed with default image tag (assumed v1). Then upgraded to tag v2. Then rolled back to revision 1 (the original install).
  2. Step 2: Determine image tag after rollback

    Rollback to revision 1 restores the original state, so image tag reverts to v1.
  3. Final Answer:

    v1 (original tag from install) -> Option D
  4. Quick Check:

    Rollback restores previous revision state [OK]
Quick Trick: Rollback returns to previous revision state, undoing upgrades [OK]
Common Mistakes:
  • Assuming rollback keeps upgraded tag
  • Thinking rollback applies latest tag automatically
  • Ignoring rollback effect on release state

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes