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

CKA study material · question 683 of 1000

An inter-pod anti-affinity rule uses topology.kubernetes.io/zone as its topologyKey, but several nodes have no such label. What is the documented consequence?

  1. The unlabelled nodes are treated as one shared zone
  2. The rule falls back to kubernetes.io/hostname
  3. Behaviour becomes unpredictable
  4. The unlabelled nodes are excluded and the rule works normally
Show the answer

Answer: C. Behaviour becomes unpredictable

Inter-pod affinity requires that every node in the cluster carries a label matching the topologyKey; nodes missing it can lead to unintended behaviour.

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

Challenge yourself on this topic → Study as cards