Process Flow - Node selectors for simple scheduling
Pod Spec Created
Add nodeSelector Field
Pod Submitted to API Server
Scheduler Checks Nodes
Match Node Labels with nodeSelector?
No→Wait or Fail
Yes
Pod Assigned to Matching Node
Pod Runs on Selected Node
The pod spec includes a nodeSelector field. The scheduler matches this with node labels to assign the pod to a suitable node.