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

CKA study material · question 168 of 1000

A Pod has two preferred affinity rules, one weighted 1 and one weighted 50, and two nodes each satisfy one. Which node wins?

  1. The node satisfying the weight-1 rule
  2. Whichever node was listed first
  3. The node satisfying the weight-50 rule
  4. Neither; the Pod stays pending
Show the answer

Answer: C. The node satisfying the weight-50 rule

The scheduler sums the weights a node satisfies and picks the node with the highest total score.

Source: Assigning Pods to Nodes (Kubernetes) — Node affinity weight

Challenge yourself on this topic → Study as cards