proomt

Search

Search posts, papers, and topics

All posts

DatadogDavid Lentz, Kathy Lin19 min readintermediate

Monitor TAS and gang scheduling for AI training in Kubernetes

Summary

Kubernetes’ default scheduler can’t satisfy AI training’s need for low‑latency GPU interconnects and simultaneous pod start‑up. The blog explains how the open‑source Kueue job queue adds topology‑aware placement (using node labels like `topology.kubernetes.io/rack`) and how the Coscheduling plugin adds a permit phase that only binds a gang of pods when the full set is ready, preventing idle GPU r…

  • Distributed AI jobs require pods to be co‑located on hardware with sufficient inter‑GPU bandwidth and to start together; vanilla kube‑scheduler schedules pods independently.
  • Kueue enforces topology‑aware scheduling by grouping nodes into domains (block, rack, host) via topology labels and injecting node‑affinity constraints into pod specs at admission time.
  • The Coscheduling plugin extends the scheduling framework with a Permit phase that holds pods until the minimum gang size is met, then binds all pods atomically, avoiding partial starts and wasted GPU capacity.
  • Effective validation consists of four observability layers: admission‑queue activity, topology placement correctness, Coscheduling gang assembly metrics, and end‑to‑end training‑throughput signals.

AI model training at scale is GPU‑cost‑intensive; even modest latency or idle‑GPU waste can inflate cloud spend dramatically. By integrating TAS and gang scheduling, teams can extract the full performance of their GPU clusters, reduce training time, and align infrastructure metrics with actual mode…

6/10

Related reading

  1. Kubernetes v1.37: Pod-Level Resource Managers graduated to Beta

    Kubernetes v1.37 adds Pod‑Level Resource Managers to beta (off by default). The feature lets Kubelet’s Topology, CPU, and Memory managers consume pod‑level `.spec.resources` to reserve exclusive NUMA‑aligned CPUs/memory for primary containers while sidecars share a pod‑isolated pool. A new PodResources gRPC API now reports `cpu_ids` and `memory` per pod. Enable via the `PodLevelResourceManagers`…

    Kuberneteskubernetes.io2 min
  2. Microsoft Open-Sources TauGrid to Simplify AI Workload Management on Kubernetes

    Microsoft open‑sourced TauGrid, a Helm‑installable platform that bundles Kueue, KubeRay and other components to schedule, monitor and checkpoint AI workloads on GPU‑enabled Kubernetes clusters. Engineers define jobs in a simple `tau.yaml`, and TauGrid handles queuing, health checks, and observability, simplifying AI workload management.

    InfoQinfoq.com2 min
  3. From Megawatts to Tokens: How NVIDIA Maximizes AI Factory Production

    NVIDIA’s DSX platform lets AI data‑centers shift workloads in response to grid signals, squeezing ~24% more token throughput (4 M→5 M tps) and ~23% better performance‑per‑watt on a fixed megawatt budget. The first production demo used Emerald AI’s Conductor to drop a 4 MW load to 3 MW in under a minute without interrupting high‑priority jobs. DSX MaxLPS reallocates headroom across HGX B200 server…

    Nvidianvidia.com5 min
  4. Kubernetes Multi-Cluster Project Karmada Reaches CNCF Graduation

    Karmada, a multi-cluster and multi-cloud Kubernetes orchestration project, has graduated to the highest maturity tier within the CNCF. It extends the standard Kubernetes API to manage workloads across diverse environments, enhancing multi-component scheduling for AI training jobs and promoting priority-based scheduling.

    InfoQinfoq.com3 minrelease
  5. How to upskill enterprise AI builders by using daily micro habits

    Google Cloud Consulting proposes a four‑pillar micro‑learning framework for enterprise AI upskilling: 5‑minute browser‑based exercises, pre‑configured sandboxes, daily streaks, and delivering runnable code each session. A pilot (Advent of Agents) showed >150k participants, 859k code runs, and a 31% daily return rate, suggesting short, frictionless tasks improve engagement versus traditional bootc…

    Google Cloud Bloggoogle.com3 min
  6. Kubernetes 1.37 Released: Stable Metrics API and Rootless Kubelet in Beta

    Kubernetes 1.37 (Garhwal) ships GA Metrics API, beta rootless kubelet, GA resilient watchcache, GA pod certificates, and a suite of alpha/beta features (workload‑aware scheduling, pod checkpoint/restore, StatefulSet Recreate strategy). The release focuses on stability, security, and AI/ML cost‑optimisation.

    InfoQinfoq.com2 minrelease