Node affinity is a Kubernetes scheduling constraint that attracts pods to nodes matching specified labels, such as a management role or hardware characteristic. section 7.4.6
Configure affinity with label selectors in the pod YAML. Unlike tolerations, which allow placement onto tainted nodes, affinity pulls workloads toward nodes with desired labels; together they provide fine-grained placement control. section 7.4.6
Pin a storage test pod to management nodes
Set requiredDuringSchedulingIgnoredDuringExecution with a nodeSelectorTerm matching node.kubernetes.io/role=management. The accompanying toleration permits placement on management nodes tainted with dedicated=management:NoSchedule.
Validate the placement pattern by:
- Deploying the pod with the EBS volume fixture. section 7.4.6
- Deleting all deployed test resources after verification. section 7.4.6





