AI & Kubernetes
High GPU usage masks inference problems in Kubernetes—here's how to spot the real bottleneck
Running an AI model on a loaded GPU says nothing about whether it's actually delivering results fast enough or accurately enough for users.
1/2
The New Stack
A Kubernetes cluster running at full capacity can still frustrate end users. An AI model might emit its first response token instantly but then take forever to finish, or deliver answers quickly while being factually wrong. The real trap: a GPU running at 100% tells operations teams nothing about whether the service is working well. The operational gap is understanding how AI performance connects to the actual Kubernetes, compute, storage, and network conditions underneath—not treating each layer as separate.
Measure before going live—and know what to measure#
Before rolling out an inference service, establish how it performs under representative load. For conversational AI, that means tracking multiple signals: time until the first token arrives, time between each subsequent token, end-to-end response time, reliability rates, whether answers are accurate or hallucinated, and the cost to serve. Different user experiences demand different mixes. A fast-arriving first token can hide slow token generation, while a complete answer delivered promptly might still be incorrect or unhelpful.
Set specific targets for each interval and measure them under sustained load and during traffic spikes. Capture the baseline under realistic conditions: representative prompt lengths, document context sizes, output volumes, and realistic traffic patterns. Record latency percentiles, throughput, and service-level objectives. This baseline becomes the reference point for comparing production behavior.
Answer quality requires separate evaluation. Automated telemetry can confirm a request was fulfilled, but data science and domain experts need to assess whether the model actually gives correct answers or invents plausible-sounding nonsense. Revisit quality expectations whenever the model, prompts, retrieval methods, or serving layer change.
Why a busy GPU doesn't mean the service is working#
GPU utilization is misleading. High utilization doesn't reveal whether requests are slow, latency spikes come from infrastructure bottlenecks, or the service is scaling appropriately to demand. Different models have different latency and throughput characteristics, so a shift in the mix of requests can degrade user experience even while the GPU stays at 100%.
Several investigations are worth pursuing when inference slows down despite high compute usage: Check whether request routing actually sends traffic to the intended model. Verify that the GPU partition is large enough for the model. Examine database or vector-store response times for retrieval-augmented generation. Look at network configuration and whether dependent components can be scheduled when needed. Correlate these signals with affected requests and the specific time window before deciding on a fix.

