Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Kubernetes Blog 16 min read Deep dive easyNovice

Spotlight on WG Device Management

Kubernetes' Device Management Working Group built Dynamic Resource Allocation (DRA), now GA since 1.34, to replace the Device Plugin API's opaque integer device counts with a structured model of modeling (ResourceSlice), requesting (ResourceClaim), scheduling and actuation. ResourceClaims can express attribute-based requests and prioritized alternatives, such as one 80GB A100 or two 40GB A100s. ResourceSlices model overlapping partitions like MIG, and "consumable capacity" lets the scheduler carve bandwidth or memory out of a shared device, such as 2Gbps from a 40Gbps NIC. Ongoing KEPs cover device taints, health status, multi-node topology-aware allocation and workload-aware scheduling.

Related posts

  • Kubernetes v1.36: More Drivers, New Features, and the Next Era of DRA

    Kubernetes Blog hardMaster

    Kubernetes v1.36 graduates several Dynamic Resource Allocation features: prioritized device lists go stable, and extended resource support, partitionable devices, device taints, binding conditions and resource health status reach beta. New alpha features include ResourceClaims for PodGroups, DRA-managed CPU and memory with NUMA awareness, a ResourcePoolStatusRequest for capacity snapshots, and list-typed attributes with intersection semantics and a CEL includes() function. Other alpha additions are deterministic lexicographic device selection and a standard protocol for exposing device metadata to containers as versioned JSON files via CDI bind-mounts. The project's stated goal is to migrate users from Device Plugins to DRA.

  • Kubernetes v1.37: DRA Updates

    Kubernetes Blog hardMaster

    Kubernetes 1.37 graduates DRA Extended Resource support to GA, letting DRA drivers satisfy classic extended-resource requests like `example.com/gpu` through a DeviceClass so existing workloads migrate without changes. Device taints and tolerations, per-device ResourceClaim status (including network interface IPs and MACs), and a standard `resource.kubernetes.io/numaNode` attribute are also stable. Workload-level ResourceClaims (removing the 256-Pod reservation cap) and a device-attributes Downward API move to Beta. New alpha features include CEL-derived attributes for pairing devices across vendors, device compatibility groups for MIG/vGPU partitions, optional node prepare calls, and a PreQueueingHint scheduler extension that cuts claim-event requeueing from O(N²) to O(1) and roughly doubles scheduling throughput in early benchmarks.

  • Kubernetes v1.37: Advancing Workload-Aware Scheduling

    Kubernetes Blog hardMaster

    Kubernetes v1.37 promotes the Workload and PodGroup APIs (gang scheduling), workload-aware preemption and shared DRA ResourceClaims for PodGroups to Beta. It also adds an alpha CompositePodGroup API for hierarchical, multi-level gang scheduling, preemption and topology constraints, aimed at structures like JobSet and LeaderWorkerSet. PodGroups are now queued as single units, minCount is mutable for elastic workloads, and preemption runs the scheduling algorithm once instead of per victim reprieval and now respects PodGroup disruptionMode (renamed to all/single). Multi-level topology constraints are resolved top-down, for example zone at the root and rack for child groups, and a new workloadbuilder Go library helps controllers integrate.

  • Kubernetes v1.36: Advancing Workload-Aware Scheduling

    Kubernetes Blog hardMaster

    Kubernetes v1.36 splits workload scheduling into a static Workload template and a runtime PodGroup API (scheduling.k8s.io/v1alpha2). kube-scheduler gains a PodGroup scheduling cycle that snapshots cluster state once and places or rejects a whole group atomically, which is the basis for gang scheduling. The release also adds rack-style topology-aware placement through new PlacementGenerate/PlacementScore extension points, and cluster-wide workload-aware preemption with group priority and disruptionMode. DRA ResourceClaims can now be generated and reserved per PodGroup, lifting the 256-entry reservedFor limit, and the Job controller can create Workload and PodGroup objects automatically behind the WorkloadWithJob gate. Known limits: placement is not guaranteed for heterogeneous groups or groups with inter-Pod dependencies.

  • Capacity without conflict: A guide to multi-tenant GPU cluster design for AI-native teams

    Together AI easyNovice

    Multi-tenant GPU clusters pool hardware at a shared infrastructure layer (central control plane, shared storage, InfiniBand east/west and Ethernet north/south fabric) while giving each team dedicated GPU nodes, storage PVCs, credentials and its own orchestration layer such as Kubernetes or Slurm. Scheduler-enforced quotas by GPU count, spend or reservation window, conflict-free advance booking and automatic burst to on-demand capacity keep one team from starving others. Teams choose CUDA driver, shared memory and storage at booking time. Nodes get acceptance testing before handoff (DCGM diagnostics, GPU burn, single- and multi-node NCCL, NVBandwidth), with tiered repair: reprovision for software faults, cluster migration for hardware failures. The guide is framed around Together AI's own offering.

The quest for software engineering knowledge.

Look:
Layout: