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

CKA study material · question 676 of 1000

A topology spread constraint sets maxSkew to 1 with whenUnsatisfiable: ScheduleAnyway. What does maxSkew mean here?

  1. A hard limit; Pods that would exceed it stay Pending
  2. A preference the scheduler weighs but may exceed
  3. The minimum number of domains that must be used
  4. Nothing; maxSkew is ignored under ScheduleAnyway
Show the answer

Answer: B. A preference the scheduler weighs but may exceed

maxSkew is a hard ceiling only under DoNotSchedule; with ScheduleAnyway the scheduler prefers the nodes that reduce skew but will still place the Pod elsewhere.

Source: Pod Topology Spread Constraints (Kubernetes) — Spread constraint definition

Challenge yourself on this topic → Study as cards