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

CKA study material · question 681 of 1000

What is the permitted range for the weight of a preferredDuringSchedulingIgnoredDuringExecution node affinity rule?

  1. 0 to 100
  2. 1 to 10
  3. 1 to 1000
  4. 1 to 100
Show the answer

Answer: D. 1 to 100

A preferred affinity rule takes a weight between 1 and 100, which the scheduler adds to a matching node's score alongside its other scoring rules.

Source: Assigning Pods to Nodes (Kubernetes) — Affinity and anti-affinity › Node affinity weight

Challenge yourself on this topic → Study as cards