Serving a model used to mean one GPU machine and a script. A production AI product asks for more. You may run several models, face traffic that comes in bursts, pay a lot for every idle GPU, and still owe customers fast answers.
A common open source answer is a stack of six pieces: Kubernetes, the NVIDIA GPU Operator, vLLM, KServe, Kueue and a gateway. The names are easy to mix up, so this guide takes them one at a time and says what each layer does and what it does not do.
One note on scope. This is a map of roles, not a benchmark. We do not quote speed or cost numbers here, because they depend on your model, your hardware and your traffic. Test on your own workload before you decide.
Table of Contents
The stack in one picture
Read it from the bottom. GPUs are the hardware. The GPU Operator makes them usable on a cluster. Kubernetes runs your containers on them. Kueue decides which jobs get in. vLLM is the program that actually runs the model. KServe wraps that program as a managed endpoint, and the gateway sends traffic to it.
Kubernetes: the orchestrator
Kubernetes keeps containers running where you told it to. It places them on machines, restarts them when they crash, scales the number of copies and gives them a stable network address. It does not know anything about language models. It only knows pods, nodes and resources. If you are still deciding whether you need it, read our take on whether Kubernetes is too heavy for AI startups.
For AI work, the key idea is that a GPU becomes a resource a pod can request, just like CPU or memory. That is what lets a scheduler treat expensive accelerators as a shared pool instead of a pet server. If you want the budget side of this argument, see our earlier piece, The GPU Is the New Server.
NVIDIA GPU Operator: GPU management
A bare Kubernetes node cannot use a GPU until several things are installed and kept in sync. The GPU Operator automates that work so you do not hand-build every node.
- The NVIDIA driver and the container toolkit, so containers can reach the GPU.
- The device plugin, which tells Kubernetes how many GPUs each node has.
- Node labelling, so you can target a specific GPU type.
- Monitoring through GPU metrics you can feed into your dashboards.
- Support for splitting one GPU into slices with Multi-Instance GPU on hardware that offers it.
The practical gain is boring and valuable. When a node is replaced or upgraded, the GPU software comes back the same way every time. Check the project docs for the exact components and the GPU models your version supports.
vLLM: the inference engine
This is the layer that touches your model. vLLM loads the weights and generates tokens, and it is built to keep the GPU busy while many users send requests at once. Mistral, for example, lists vLLM as one way to run its open-weight Large 4 model.
Two ideas explain most of its reputation. The first is continuous batching, which adds new requests to a running batch instead of waiting for the batch to finish. The second is PagedAttention, a way of managing the attention cache in memory so less space is wasted. Both aim at the same goal, which is more requests served per GPU. It also exposes an API that follows the OpenAI format, so many client libraries work with little change.
What vLLM does not do is manage a fleet. It runs a model well on the GPUs it is given. Deciding how many copies to run, how to roll out a new version and how to expose it safely is someone else’s job.
KServe: model serving
KServe is a Kubernetes add-on for serving models. You describe a model in a Kubernetes resource and KServe creates the pods, the service and the autoscaling around it. It supports many model types, and it can run a language model on a vLLM backend.
Why not just write a Deployment yourself? You can, and for one model that is a fair choice. KServe earns its place when you have several models and want one standard way to deploy, update and scale them. Features such as canary rollouts and scaling down idle models are what teams usually want from it. Which features you get depends on the mode you install, so read the docs for your version.
Kueue: workload scheduling
Kueue answers a different question. When more jobs want GPUs than you have, who goes first? It is a Kubernetes-native queueing system. You define queues and quotas, and it decides when a job is admitted to the cluster and when it waits.
It was designed with batch work in mind, like fine-tuning runs, evaluations and offline batch inference. That matters for startups, because a training job can grab every GPU and starve the product. With quotas per team or per project, your experiments and your customers stop fighting over the same cards.
If you only serve one model and never train, you may not need Kueue yet. Add it when two groups of people start asking for the same GPUs.
The gateway: routing and the API layer
The gateway is the front door. It handles the things every public API needs, such as keys, authentication, rate limits and logging, and then forwards the request to the right model.
There is also a newer idea for this layer. The Gateway API Inference Extension is a Kubernetes project that makes a gateway aware of model servers. A normal load balancer spreads requests evenly. A request to a language model is not even, because one may be a short question and another a huge document. An inference-aware gateway can pick a replica using signals from the model server instead of guessing. Check the project page for its current status before you rely on it.
How a request travels
A client calls your API. The gateway checks the key, applies limits and picks a model endpoint. KServe owns that endpoint and the pods behind it. Inside a pod, vLLM batches the request with others and runs it on the GPU. The answer streams back the same way. The purple bar in the diagram is the work happening in the background so that all of this keeps going.
What to adopt first
You do not need all six layers on day one. Here is an order that follows the pain you will actually feel.
Step 1: run vLLM in a container
Get one model working behind one endpoint. Measure latency and throughput on your real prompts. Everything else builds on this.
Step 2: move to Kubernetes with the GPU Operator
Do this when you need more than one machine or when manual node setup starts to hurt. The operator keeps the GPU software consistent.
Step 3: add KServe
Do this when you serve several models or release updates often, and you want one repeatable way to do it.
Step 4: add Kueue
Do this when training, evaluation and serving compete for the same GPUs.
Step 5: add a proper gateway
Do this when you have outside customers who need keys, limits and usage tracking, and when routing starts to affect your latency.
The takeaway
- Kubernetes runs containers, and the GPU Operator makes GPUs usable inside it.
- vLLM generates the tokens. KServe turns that into a managed, scalable endpoint.
- Kueue decides who gets GPUs when demand is higher than supply.
- The gateway protects and routes your API.
- Add layers when a real problem shows up, not before.
Sources & Credits
Text credit & news reporting source: vLLM docs / KServe docs / NVIDIA docs / Kueue docs / Kubernetes docs / Gateway API Inference Extension docs.
- Kubernetes: Kubernetes overview
- NVIDIA: GPU Operator overview
- vLLM: vLLM documentation
- KServe: KServe documentation
- Kueue: Kueue overview
- Kubernetes SIGs: Gateway API Inference Extension
Enjoyed this breakdown? Stay ahead of the curve with our technical analyses and news. Join our community by subscribing to the CVisiona Newsletter for weekly deep dives, and subscribe to our CloudMelon Vis YouTube Channel for video breakdowns of Cloud-Native, AI, and Tech Enterprise news.
Question for you: Which layer of your inference stack causes you the most pain? Tell us in the comments.
















Banks Lent TikTok’s Owner $29.6 Billion With No Collateral. Why?
Broadcom’s $73 Billion AI Backlog Isn’t the Risk. Who Pays for It Is
Third Time Lucky? The Driverless Truck Startup Going Public at $800M
The GPU Is the New Server: How AI Startups Are Using Kubernetes to Stop Wasting $1M+ of Compute
The $48 Billion Bet That Every Engineer Will Manage AI Agents
Anthropic’s Record IPO Raised $81 Billion. Its Suppliers Own a Big Slice