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

CKA study material · question 646 of 1000

How does a DaemonSet Pod come to be running on a particular node?

  1. The DaemonSet controller sets spec.nodeName directly, bypassing the scheduler
  2. The kubelet claims DaemonSet Pods for its own node
  3. The controller writes node affinity for the target node and the default scheduler binds it
  4. The Pod is created as a static Pod on each node
Show the answer

Answer: C. The controller writes node affinity for the target node and the default scheduler binds it

The DaemonSet controller creates one Pod per eligible node with node affinity naming that node, and the default scheduler then binds it by setting spec.nodeName.

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

Challenge yourself on this topic → Study as cards