Node Affinity, Taints & Tolerations
Control precisely where your Pods land in the cluster using node affinity rules, taints, and tolerations.
Full content coming soon. This lesson is being written.
This lesson covers advanced Pod placement:
- Node Selectors: simple label matching (legacy approach)
- Node Affinity: required vs preferred rules, matchExpressions
- Pod Affinity/Anti-Affinity: co-locate or spread Pods relative to each other
- Taints: mark nodes to repel most Pods (GPU nodes, spot instances, masters)
- Tolerations: allow specific Pods to schedule onto tainted nodes
- Topology Spread Constraints: distribute Pods evenly across zones/nodes
- Real-world patterns: dedicated node pools, spot instance handling
Check back soon for the full content.