k8s:core:scheduler
Table of Contents
Scheduler
The Scheduler decides which node runs a pod.
—
How it works
When a new pod is created:
1. Scheduler sees the pod request 2. Checks all available nodes 3. Evaluates CPU, memory, constraints 4. Picks the best node 5. Assigns the pod
—
Example
You create a pod:
nginx pod (needs 200m CPU)
Nodes:
Node A → low CPU Node B → high CPU (selected)
—
Key idea
Scheduler = “decision maker” It only decides placement, not execution.
k8s/core/scheduler.txt · Last modified: by phong2018
