Bird
0
0

After applying a DaemonSet manifest, no pods appear on any nodes. What is the most probable cause?

medium📝 Troubleshoot Q6 of 15
Kubernetes - Scheduling
After applying a DaemonSet manifest, no pods appear on any nodes. What is the most probable cause?
AThe DaemonSet's selector does not match the pod template labels
BThe cluster has no nodes available
CThe DaemonSet is missing a container image
DThe DaemonSet is configured with replicas set to zero
Step-by-Step Solution
Solution:
  1. Step 1: Check DaemonSet selector and pod labels

    DaemonSet selector must match pod template labels exactly.
  2. Step 2: Understand impact

    If selector and labels mismatch, pods won't be created.
  3. Step 3: Evaluate other options

    Cluster nodes exist; replicas field is not used in DaemonSet; missing image causes pod crash, not absence.
  4. Final Answer:

    The DaemonSet's selector does not match the pod template labels -> Option A
  5. Quick Check:

    Selector-label mismatch prevents pod creation [OK]
Quick Trick: Selector must match pod labels exactly [OK]
Common Mistakes:
  • Assuming replicas field controls DaemonSet pods
  • Ignoring selector and pod label consistency
  • Thinking missing image prevents pod creation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes