architecture9 min read

Kubernetes v1.37: Scheduler Preemption for In-Place Pod Resizing (Alpha)

27 similar posts
  • Kubernetes
  • Kubelet
  • kube-scheduler
  • Vertical Pod Autoscaler

AI Summary

Kubernetes v1.37 introduces scheduler preemption for in-place Pod resizing via the InPlacePodVerticalScalingSchedulerPreemption feature. This alpha capability solves the deferred resize problem, where scaled pods stall if host nodes lack capacity. The scheduler now tracks deferred pods and evicts lower-priority workloads locally on the node to free resources, allowing high-priority applications to scale up without restarts.

Key Takeaways

  • Introduces InPlacePodVerticalScalingSchedulerPreemption in Kubernetes v1.37 as an alpha feature.
  • Reduces reliance on manual evictions or disruptive cluster autoscaler operations for in-place scaling.
  • Maintains separation of responsibilities by having the scheduler handle preemption instead of the Kubelet critical admission handler.

Why it matters

In production environments, high cluster utilization relies on bin-packing workloads with lower-priority batch jobs. Previously, if these workloads consumed all host headroom, critical apps needing vertical scaling would stall in a deferred state, forcing operators to choose between wasted buffer capacity or disrupted services. This feature automates preemption on the specific node, bridging high resource density with the reliability of critical applications.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.