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

CKA study material · question 679 of 1000

A Pod was scheduled using requiredDuringSchedulingIgnoredDuringExecution node affinity. An administrator later removes the matching label from the node. What happens to the Pod?

  1. It is evicted at the next scheduling cycle
  2. It keeps running where it is
  3. It is marked Pending until the label returns
  4. It is rescheduled to a node that still matches
Show the answer

Answer: B. It keeps running where it is

IgnoredDuringExecution means exactly that: node affinity is consulted at scheduling time only, so a running Pod is unaffected when the labels stop matching.

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

Challenge yourself on this topic → Study as cards