Node Affinity - CI/CD Glossary Definition
Node affinity steers pods toward nodes with matching labels, as a strict rule or a preference.
Node affinity is a scheduling rule that attracts pods to nodes matching specified labels, either as a hard requirement or a soft preference.
Node affinity places workloads on the right hardware, such as GPU nodes or a specific zone. It shapes where a rollout lands.
Required vs preferred
A required rule blocks scheduling unless a matching node exists; a preferred rule only biases placement, so overly strict affinity can leave pods Pending.
Related guides
Taint and Toleration - CI/CD Glossary DefinitionTaint and Toleration: A taint repels pods from a node unless the pod carries a matching toleration, letting y…
Pod Scheduling - CI/CD Glossary DefinitionPod Scheduling: Pod scheduling is the process by which the Kubernetes scheduler selects a node for a new pod…
Node Pool - CI/CD Glossary DefinitionNode Pool: A node pool is a group of nodes within a cluster that share the same configuration (machine type,…