devops5 min read

Kubernetes v1.35: Introducing Workload Aware Scheduling

22 similar posts
  • Kubernetes

AI Summary

Kubernetes v1.35 introduces workload-aware scheduling features, aiming to make multi-Pod workloads first-class citizens in the kube-scheduler. The release includes the new Workload API (scheduling.k8s.io/v1alpha1) for defining scheduling requirements of multi-Pod applications, an initial implementation of gang scheduling for all-or-nothing placement, and opportunistic batching to speed up scheduling latency for identical Pods.

Key Takeaways

  • The Workload API resource is part of the scheduling.k8s.io/v1alpha1 API group and requires enabling the GenericWorkload feature gate.
  • Gang scheduling uses an all-or-nothing policy, blocking pods at a Permit gate until the minCount is met or timing out after 5 minutes.
  • Opportunistic batching is a Beta feature enabled by default in v1.35 that speeds up scheduling for identical pods by reusing feasibility calculations.

Why it matters

Large distributed workloads like machine learning jobs often require strategic placement across pods (such as gang scheduling). Native support in Kubernetes prevents partial scheduling, avoids resource wastage, and improves efficiency for high-performance and AI workloads.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.