Bird
0
0

You run helm install myapp bitnami/nginx --set replicas=3 but the pods remain at 1 replica. What is the likely cause?

medium📝 Troubleshoot Q6 of 15
Kubernetes - Helm Package Manager
You run helm install myapp bitnami/nginx --set replicas=3 but the pods remain at 1 replica. What is the likely cause?
AThe Kubernetes cluster is out of resources
BThe chart does not support the replicas parameter
CYou forgot to run 'helm repo update' before install
DThe --set flag syntax is incorrect
Step-by-Step Solution
Solution:
  1. Step 1: Understand Helm parameter overrides

    If the chart does not define the parameter replicas, setting it has no effect.
  2. Step 2: Analyze other options

    Resource shortage or repo update issues would cause different errors; syntax is correct.
  3. Final Answer:

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

    Unsupported parameter = no effect on deployment [OK]
Quick Trick: Check chart values.yaml for supported parameters before setting [OK]
Common Mistakes:
  • Assuming all charts support replicaCount
  • Ignoring chart documentation
  • Misusing --set flag syntax

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes