Interview Prep/Kubernetes/Scheduling, Resources & Autoscaling

How does the scheduler use requests for placement and what is "allocatable"?

IntermediateConceptScheduling, Resources & Autoscaling
Answer

Nodes advertise capacity, and allocatable equals capacity minus kube-reserved, system-reserved and eviction thresholds. The scheduler sums the requests of Pods on a node and places a new Pod only if its requests fit within allocatable, regardless of real usage. Overcommitted limits are allowed; overcommitted requests are not.

All Kubernetes questions Roadmap: Kubernetes core

More on Scheduling, Resources & Autoscaling