Kubernetes & AI Infrastructure
Measure workload outcomes before scaling Kubernetes GPU pools
Teams running AI workloads should verify actual capacity and performance requirements rather than immediately expanding GPU resources when queues build up.
1/2
The New Stack
When GPU queues grow and pools run at full capacity, the instinct to provision more hardware can be strong. But expanding infrastructure without first understanding what success looks like—and what it actually costs to achieve—risks wasted investment and suboptimal resource allocation.
The key insight: a GPU in use, a GPU running busy, and a GPU delivering valuable business outcomes are not interchangeable. Teams managing AI workloads on Kubernetes should measure the second and third before acting on the first.
Define success: deadlines and outcomes matter more than workload type#
The urgency of a workload depends on its business deadline and purpose, not just its broad category. A model evaluation batch job might be flexible for days, while inference supporting a customer chatbot needs constant availability. Conversely, some batch inference requests could also have strict timing windows.
For each workload, document:
- The deadline when results must be ready
- Expected runtime and resource needs
- Whether interruption is acceptable
- What counts as a valid, valuable output (not just "request completed" but whether it met quality thresholds and latency targets)
This clarity prevents overprovisioning for workloads with genuine flexibility while ensuring critical paths receive the resources they truly need.
Use scheduling and queuing before expanding capacity#
If four evaluation jobs each need two GPUs for one hour and all results are due by 5 p.m., running two jobs at noon and two at 1 p.m. can complete all four using four GPUs instead of requiring eight. Both schedules consume the same total GPU-hours; staggering simply spreads peak demand across time.
Tools like Kueue manage admission control with quotas and policies, letting teams represent deadlines and workload constraints. Flexible queueing can clear backlogs without expanding hardware if start-time flexibility exists.
Measure actual serving capacity, not just GPU utilization#
High GPU activity does not reveal how much additional throughput a system can handle. According to Nvidia's profiling documentation, busy streaming multiprocessors often include warps stalled on memory—the GPU appears active but may not be scaling to higher request rates.

