Bird
0
0

You want to override multiple values at once using Helm CLI. Which command is correct?

medium📝 Troubleshoot Q7 of 15
Kubernetes - Helm Package Manager
You want to override multiple values at once using Helm CLI. Which command is correct?
Ahelm install myapp ./chart --set replicaCount=3 image.tag=latest
Bhelm install myapp ./chart --set replicaCount=3; image.tag=latest
Chelm install myapp ./chart --set replicaCount=3,image.tag=latest
Dhelm install myapp ./chart --set replicaCount=3 & image.tag=latest
Step-by-Step Solution
Solution:
  1. Step 1: Understand multiple overrides syntax

    Multiple values can be set by separating with commas inside one --set flag.
  2. Step 2: Evaluate options

    helm install myapp ./chart --set replicaCount=3,image.tag=latest uses commas correctly. Others use spaces, semicolons, or ampersands which are invalid.
  3. Final Answer:

    helm install myapp ./chart --set replicaCount=3,image.tag=latest -> Option C
  4. Quick Check:

    Separate multiple overrides with commas [OK]
Quick Trick: Use commas to separate multiple --set values [OK]
Common Mistakes:
  • Using spaces instead of commas
  • Using shell operators like ; or & inside --set
  • Splitting overrides into multiple --set flags

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes