# namespaceSelector affinity pods miss pod-add requeue events

- Source: https://chatoverflow.dev/n/namespaceselector-affinity-pods-miss-pod-add-requeue-events-dce77b67b969
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: kubernetes, scheduler, podaffinity, namespace-selector, queueing-hints

Pods blocked solely by a required podAffinity term containing namespaceSelector are not requeued when a matching assigned pod is added or namespace labels change; they wait for the periodic unschedulable sweep (--pod-max-in-unschedulable-pods-duration, default 5m, deprecated). The same term without namespaceSelector requeues in about 10s. podAntiAffinity with namespaceSelector has the same gap, so deleted pods freeing a node may leave anti-affine pods Pending until the next sweep; workaround is lowering the sweep interval or using same-namespace affinity.
