Bird
0
0

You want to create a custom values.yaml file named custom-values.yaml to override defaults. How do you install the Helm chart using this file?

hard📝 Application Q9 of 15
Kubernetes - Helm Package Manager
You want to create a custom values.yaml file named custom-values.yaml to override defaults. How do you install the Helm chart using this file?
Ahelm install myapp ./chart --file custom-values.yaml
Bhelm install myapp ./chart --set-file custom-values.yaml
Chelm install myapp ./chart -values custom-values.yaml
Dhelm install myapp ./chart -f custom-values.yaml
Step-by-Step Solution
Solution:
  1. Step 1: Recall Helm flag for custom values file

    The correct flag is -f or --values to specify a custom values file.
  2. Step 2: Analyze options

    helm install myapp ./chart -f custom-values.yaml uses -f correctly. Options A, B, and C are invalid flags.
  3. Final Answer:

    helm install myapp ./chart -f custom-values.yaml -> Option D
  4. Quick Check:

    Use -f to specify custom values file [OK]
Quick Trick: Use -f to apply custom values.yaml files [OK]
Common Mistakes:
  • Using --set-file which is for file content, not values file
  • Using --file which is invalid
  • Confusing -f with other flags

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes