Bird
0
0

If a Helm chart's values.yaml has:

medium📝 Command Output Q5 of 15
Kubernetes - Helm Package Manager
If a Helm chart's values.yaml has:
service:
  type: ClusterIP
  port: 80

and you run:
helm install myapp ./chart --set service.type=NodePort
What will be the service type after installation?
ALoadBalancer
BClusterIP
CNodePort
DExternalName
Step-by-Step Solution
Solution:
  1. Step 1: Identify default service type

    The default service type is ClusterIP from values.yaml.
  2. Step 2: Apply command line override

    The command line sets service.type to NodePort, which overrides the default.
  3. Final Answer:

    NodePort -> Option C
  4. Quick Check:

    Command line overrides nested values correctly [OK]
Quick Trick: Use dot notation to override nested values [OK]
Common Mistakes:
  • Assuming nested values cannot be overridden
  • Confusing service port with service type
  • Ignoring command line overrides

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes