Skip to content
Opsfolk

Scheduling and scaling, topic 33 of 61

The scheduler

When a Pod has no node, kube-scheduler picks one in two steps. Filtering removes nodes that cannot run it: not enough free requests, a taint it does not tolerate, a selector it does not match. Scoring ranks the rest, for spreading, affinity and image locality, and the best one is bound to the Pod.

A Pod stuck in Pending is almost always a scheduling problem, and kubectl describe pod lists the reasons each node was turned down.

On Opsfolk

Elsewhere

Your progress