cncf / cncf/toc

[Initiative]: GPU-Aware Autoscaling in Cloud Native AI Infrastructure

Open
#2,188 1 comment 0 reactions 0 assignees View on GitHub
needs-group needs-kind needs-triage
Dominant language
HTML
Stars
1.9k
Forks
724
Avg merge
6d 12h
Merged PRs (30d)
4

Description

**Name:** GPU-Aware Autoscaling in Cloud Native AI Infrastructure

**Short description:** Whitepaper on GPU autoscaling in Kubernetes using KEDA external scaler with direct NVML metrics

**Responsible group:** TOC

**Does the initiative belong to a subproject:** No

**Primary contact:** @pmady (Pavan Madduri)

**Additional contacts:** @julioperez (Julio Perez - AI TCG Organizer)

**Initiative description:**
Kubernetes HPA can't see GPU utilization — it watches CPU/memory while GPUs sit at 100%. The current fix (DCGM exporter → Prometheus → KEDA) adds 15-30s latency and a lot of moving parts.

This whitepaper documents a direct NVML approach using KEDA's external scaler pattern:

- **Architecture constraints:** Why GPU support can't go in KEDA core (CGO, node-local device access)
- **DaemonSet + gRPC design:** Direct NVML reads with sub-second latency
- **Scaling profiles:** Pre-built configs for vLLM, Triton, training, batch workloads
- **NUMA integration:** Works with Volcano's GPU NUMA-aware scheduling
- **Production data:** 4-node A100 cluster running LLM inference
- **Ecosystem fit:** Complements DCGM, HAMi, KubeAI (doesn't replace them)

**Draft status:** Complete whitepaper ready for review (12 sections, 274 lines)
**Code implementation:** https://github.com/pmady/keda-gpu-scaler (in production)

**Deliverable(s) or exit criteria:**
- [ ] Whitepaper reviewed and approved by TOC
- [ ] Published on CNCF TAG Infrastructure website
- [ ] Presented at CNCF KubeCon or TAG session
- [ ] Reference implementation (keda-gpu-scaler) shows adoption

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.