Kubernetes
Hard
Troubleshooting
A Pod requests 64 CPU on a cluster of 16-CPU nodes. Why does its event end with 'Preemption is not helpful for scheduling'?
Select your answer:
Show answer and explanation
Answer: NodeResourcesFit marks a request above allocatable as unresolvable
Explanation
When a Pod's request exceeds a node's total allocatable, NodeResourcesFit returns UnschedulableAndUnresolvable instead of Unschedulable. Preemption only considers nodes whose failure was plain Unschedulable, so these nodes get 'Preemption is not helpful for scheduling'. Evicting every Pod on a 16-CPU node still would not fit a 64-CPU request.