Skip to content

GPU autoscaling on Kubernetes with KEDA: Building an external scaler

9.4 relevance
Score Breakdown
technical depth
9
novelty
8
actionability
9
community
8
strategic
6
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

GPU autoscaling with KEDA on K8s is a deep technical tutorial directly applicable to AI infrastructure.

AI/ML cncf.io
GPU autoscaling on Kubernetes with KEDA: Building an external scaler
Summary

KEDA cannot natively scale on GPU metrics because it is compiled with CGO_ENABLED=0, making NVML inaccessible. A custom external scaler deployed as a DaemonSet on each GPU node reads local hardware metrics via go-nvml and exposes them over gRPC, enabling KEDA to trigger HPA decisions based on GPU utilization, memory, temperature, or power draw. Pre-built profiles cover common workloads: vLLM inference scales on memory usage with scale-to-zero, Triton on utilization, and training jobs on utilization without scale-down.

Author

epower

More from epower →