Bird
0
0

What will be the output of kubectl get pods -o wide after deploying a DaemonSet that runs a pod on every node in a 3-node cluster?

medium📝 Predict Output Q5 of 15
Kubernetes - Scheduling
What will be the output of kubectl get pods -o wide after deploying a DaemonSet that runs a pod on every node in a 3-node cluster?
AThree pods, each running on a different node
BOne pod running on a random node
CThree pods all running on the same node
DNo pods until manually scheduled
Step-by-Step Solution
Solution:
  1. Step 1: Understand DaemonSet pod distribution

    DaemonSet creates one pod per node automatically.
  2. Step 2: Apply to 3-node cluster

    In a 3-node cluster, there will be 3 pods, each on a different node.
  3. Final Answer:

    Three pods, each running on a different node -> Option A
  4. Quick Check:

    Pods per node = 1 for DaemonSet [OK]
Quick Trick: DaemonSet creates one pod per node automatically [OK]
Common Mistakes:
  • Expecting pods to run only on one node
  • Thinking pods need manual scheduling
  • Assuming multiple pods run on same node by DaemonSet

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes