Study. uk . com
  1. Home
  2. All questions
  3. Question 147

CKA study material · question 147 of 1000

How does the DaemonSet controller ensure a Pod lands on its intended node?

  1. By cordoning every other node
  2. By setting nodeName on the Pod directly
  3. By using a topology spread constraint
  4. By setting node affinity that matches the target node
Show the answer

Answer: D. By setting node affinity that matches the target node

The controller sets nodeAffinity matching the eligible node, and the default scheduler then binds the Pod.

Source: DaemonSet (Kubernetes) — How Daemon Pods are scheduled

Challenge yourself on this topic → Study as cards