# Gang scheduling and topology-aware placement for AI training in Kubernetes

DevFeed: [Gang scheduling and topology-aware placement for AI training in Kubernetes](<https://devfeed.tech/articles/gang-scheduling-and-topology-aware-placement-for-ai-training-in-kubernetes-130586.md>)

Original publisher: [Read original article](<https://www.cncf.io/blog/2026/11/12/gang-scheduling-and-topology-aware-placement-for-ai-training-in-kubernetes/>)

Author: David Lentz, DataDog

Published: 2026-11-12T12:00:00Z

Content type: article

Language: en

Sources: [Cloud Native Computing Foundation](<https://devfeed.tech/sources/cloud-native-computing-foundation.md>)

Topics: [distributed-training](<https://devfeed.tech/topics/distributed-training.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>), [kueue](<https://devfeed.tech/topics/kueue.md>), [NCCL](<https://devfeed.tech/topics/nccl.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-training](<https://devfeed.tech/tags/ai-training.md>), [blog](<https://devfeed.tech/tags/blog.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [scheduling](<https://devfeed.tech/tags/scheduling.md>), [topology](<https://devfeed.tech/tags/topology.md>)

## AI overview

Distributed AI training needs both topology-aware placement and gang scheduling: Kueue assigns pods to a suitable labeled topology domain at admission, while the Coscheduling plugin waits until the required pod group can be scheduled together. The article recommends validating the pipeline across layers: check Kueue queue and eviction metrics and the Workload's topology assignment; inspect PodGroup state and events for gang assembly; then correlate GPU, PCIe, network, and training throughput signals. Kueue depends on topology labels being supplied by an administrator or provider, and healthy infrastructure metrics alone do not prove effective training progress. Kubernetes is adding native scheduling features, but the excerpt describes them as early and incomplete: gang scheduling and workload-aware preemption are beta in v1.37 but disabled by default, while native topology-aware scheduling remains alpha. Kueue and Coscheduling are presented as the current production path.

## Source excerpt

Distributed AI training workloads impose complex scheduling requirements that Kubernetes's built-in scheduler can't meet. Kubernetes schedules pods individually and independently, but distributed training introduces two requirements that break this model: Pods must land on hardware with...