Scheduling in Kubernetes

Two key concepts:

  • Node Affinity → Pod chooses where to run

  • Taints → Node blocks unwanted Pods

Simple:

  • Affinity = “I want to go there”

  • Taints = “You can’t come here”

Affinity attracts, taints repel