Kubernetes for Private LLMs, KServe Versus Ray Serve Versus llm-d
Compare KServe, Ray Serve, and llm-d for serving private LLMs on Kubernetes, with notes on autoscaling, multi-node inference, GPU scheduling, and audit trails.

For a private LLM on Kubernetes, the serving layer decides scheduling, autoscaling, failure modes, and what the SIEM receives. On a compliance review, the question that stalls the room is rarely which engine was picked; it is why no one can show the auditor the prompt log.
KServe, Ray Serve, and llm-d are the three Kubernetes-native options a regulated enterprise realistically weighs. Each sits over similar inference engines but differs on GPU scheduling, prefill/decode disaggregation, autoscaling behavior, SIEM hooks, and operator maturity.
Why the Serving Layer Decides the Outcome
An engine benchmark holds the scheduler constant. On a shared cluster, the scheduler is the first variable that changes. Prefix-cache routing, replica scaling, decode pod pinning, drain-on-restart, and multi-node tensor parallelism all live in the control plane, not the engine. A prior vLLM and TensorRT-LLM comparison can tell a team which runtime is fastest in isolation. It cannot predict how a 70B model behaves when audit policy requires every prompt to pass through a gateway before tokens start streaming.
Each layer carries a founding assumption that still shapes it. KServe began as a Kubernetes-native model serving abstraction. Ray Serve grew out of an actor framework for distributed Python. llm-d was built from the start for prefill/decode disaggregation on top of vLLM. The right pick depends on which assumption already matches the workload a team is running.
KServe as a CNCF Incubating Standard
KServe originated in 2019 at Google, IBM, Bloomberg, NVIDIA, and Seldon under Kubeflow, and was voted in as a CNCF Incubating project in November 2025. The incubating designation carries weight at compliance committees that require upstream governance for any load-bearing component of the stack.
KServe's abstraction is the InferenceService custom resource, extended by LLMInferenceService for generative workloads. v0.18 added multi-node inference without requiring Ray, using vLLM's multiprocessing distributed executor backend, and support for the OpenAI /v1/responses API via HTTPRoute, per the KServe 0.18 release notes. The same release upgraded the integrated llm-d scheduler to v0.6, so a team that starts on KServe can later turn on llm-d routing from a single CRD.
Autoscaling piggybacks on Knative or native HPA against GPU load or queue depth. For a team that wants a CNCF-governed abstraction over whichever engine wins next quarter, KServe is the default answer.
Ray Serve and KubeRay for LLM Graphs
Ray Serve is the serving module of the Ray distributed framework. On Kubernetes it runs through KubeRay, the official operator. KubeRay exposes RayCluster, RayJob, and RayService custom resources. RayService wraps a RayCluster together with Ray Serve deployment graphs and provides zero-downtime upgrades and high availability for LLM serving.
The Ray model is Python-native. A serve.deployment decorator turns a class into a scalable replica, and deployment graphs compose multiple models and retrieval steps into one serving topology. For teams whose LLM stack also runs embeddings, rerankers, and tool calls in the same cluster, the actor model is a real match.
Ray Serve shipped a PrefixCacheAffinityRouter in Ray 2.49. On DeepSeek-R1-Distill-Qwen-32B across eight 8xL4 nodes, that router cut TTFT by 60% and lifted end-to-end throughput by over 40% against Ray Serve's default Power-of-Two-Choices routing. That result undercuts the assumption that only llm-d can do KV-cache-aware scheduling at the control-plane layer.

llm-d and Prefill Decode Disaggregation
llm-d is the youngest and most opinionated of the three. The project is narrower than KServe or Ray Serve by design: a distributed inference stack for vLLM that disaggregates prefill and decode across GPU pods, with KV-cache-aware routing through an Inference Gateway.
The relevance for regulated workloads is architectural. A prefill pod does the compute-heavy forward pass. A decode pod streams tokens. Separating them lets a cluster schedule each on the GPU shape that fits, and it isolates the long-context attack surface from the always-on decode path. llm-d v0.5 added hierarchical KV-cache offload to CPU and storage tiers; on Llama 3.1 70B with four NVIDIA H100 GPUs and IBM Storage Scale, that sustained roughly 185k tokens/second and 13.9x higher throughput at 250 concurrent users than a GPU-only baseline whose throughput collapsed once memory filled.
The founding community reflects where the project sits in the stack: cloud providers, silicon vendors, enterprise platforms, and a pair of model labs all shipping against the same Inference Gateway spec. The trade-off is operator surface area. llm-d assumes vLLM underneath and ships fewer escape hatches than KServe.
GPU Scheduling and KV-Cache Routing
The decision splits most cleanly on scheduling. KServe can defer scheduling to the downstream engine or to llm-d v0.6 when the integration is enabled. Ray Serve ships its own prefix-cache-aware router. llm-d treats cache-aware routing as the core invariant of the system.
In llm-d's published benchmarks, prefix-cache-aware routing produced roughly 3x lower mean time-to-first-token than round-robin service load balancing. The direction is the point: naive Kubernetes service routing is the wrong default for stateful LLM pods, and all three layers now acknowledge that. For a team already running Ray for data pipelines, Ray Serve's router removes a reason to leave. For a greenfield deployment on vLLM, llm-d sets the ceiling.
Audit Logs, SIEM Hooks, and Operator Maturity
No serving layer ships a compliance posture out of the box. All three expose Prometheus metrics. All three can be fronted by an Envoy or HTTPRoute gateway that mirrors prompts and completions to an audit sink. The practical difference is how much operator code a team writes to make that happen.
KServe inherits the Kubernetes Gateway API contract directly, which makes it the shortest path to pinning a WAF, an OPA policy, and a SIEM exporter in front of the serving path without custom code. Ray Serve requires either a middleware class or an Envoy sidecar; the actor model does not prevent audit, but it does not do it for a team either. llm-d's Inference Gateway is the newest surface and will change the fastest, which matters when a change-advisory board wants the CRD schema frozen for a quarter.
The same forces apply upstream of the gateway. KV-cache sizing and decode-side memory limits drive concurrent-user capacity on a fixed GPU budget, and they shape how aggressively a replica can be drained during an upgrade without stranding sessions.
Picking the Layer You Will Run
Three practical splits cover most private deployments.
- A team that wants a CNCF-governed abstraction over mixed engines, with the shortest audit story, starts with KServe. The llm-d integration in v0.18 means that choice is not a dead end.
- A team already running Ray for training or data pipelines keeps the operator count low by using RayService. The prefix-cache router removes most of what llm-d used to be the only answer to.
- A team whose single goal is maximum throughput on a dedicated vLLM cluster, with the appetite to track a fast-moving project, runs llm-d directly.
The engine comparison matters. It is a tactical choice. The control plane is the strategic one, and it decides what the auditor sees at the end of the review that opened the article. A hardened reference architecture, whether delivered as an LLM appliance or assembled through custom LLM deployment, starts with that pick and lets the engine underneath change later without rewriting the audit story.
Throughout his extensive 15+ year journey as a digital marketer, Sam has left an indelible mark on both small businesses and Fortune 500 enterprises alike. His portfolio boasts collaborations with esteemed entities such as NASDAQ OMX, eBay, Duncan Hines, Drew Barrymore, Price Benowitz LLP, a prominent law firm based in Washington, DC, and the esteemed human rights organization Amnesty International. In his role as a technical SEO and digital marketing strategist, Sam takes the helm of all paid and organic operations teams, steering client SEO services, link building initiatives, and white label digital marketing partnerships to unparalleled success. An esteemed thought leader in the industry, Sam is a recurring speaker at the esteemed Search Marketing Expo conference series and has graced the TEDx stage with his insights. Today, he channels his expertise into direct collaboration with high-end clients spanning diverse verticals, where he meticulously crafts strategies to optimize on and off-site SEO ROI through the seamless integration of content marketing and link building.

Managed Private LLM Hosting Versus Self-Managed GPU Servers Compared

Multi-Model LLM Routing That Cuts Inference Costs Without Losing Accuracy

KV Cache Optimization for Self-Hosted LLMs Under Load

How to Deploy an Open-Weight LLM on Your Own GPU Server

LLM Appliance vs Self-Built GPU Cluster for Private AI

vLLM vs TensorRT-LLM vs SGLang for Production Inference
Bringing AI in-house, the right way.
Talk through your private or on-prem LLM deployment with an expert who has shipped them in regulated environments.
Private AI, in your inbox.
Occasional, high-signal notes on enterprise LLM deployment, security, and model strategy. No spam.











