Bird
0
0

You run helm install myapp nginx --set replicaCount=3 but the app still runs with 1 replica. What is the likely cause?

medium📝 Troubleshoot Q14 of 15
Kubernetes - Helm Package Manager
You run helm install myapp nginx --set replicaCount=3 but the app still runs with 1 replica. What is the likely cause?
AYou must specify the namespace with <code>--namespace</code>
BThe chart does not support the <code>replicaCount</code> parameter
CThe <code>--set</code> flag syntax is incorrect
DThe Helm client version is outdated
Step-by-Step Solution
Solution:
  1. Step 1: Check parameter support

    Not all charts support all parameters; replicaCount must be defined in the chart's values.
  2. Step 2: Effect of unsupported parameter

    If unsupported, setting replicaCount has no effect, so default 1 replica remains.
  3. Final Answer:

    The chart does not support the replicaCount parameter -> Option B
  4. Quick Check:

    Unsupported param means no effect [OK]
Quick Trick: Check if chart supports your --set keys [OK]
Common Mistakes:
  • Assuming all charts accept replicaCount
  • Thinking namespace affects replica count
  • Believing --set syntax is always wrong
  • Blaming Helm version without checking chart

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes