Engine vs platform (vLLM, KServe InferenceService / LLMInferenceService).
LLM inference on Kubernetes.
LLM inference on Kubernetes is the serving path from request to tokens: vllm kubernetes deployment choices, kserve vs vllm as engine versus platform, and kserve autoscaling vllm keda patterns on queue depth rather than CPU.
Coverage
What this hub covers.
Running LLM inference on Kubernetes: vLLM and KServe, LLMInferenceService, OpenAI-compatible routing, queue-based autoscaling and token budgets.
OpenAI-compatible gateway and routing.
Autoscaling on queue depth, not CPU.
GPU node pools, model cache, rollouts.
Per-tenant token budgets (Budget Guard, off by default).
Practice
vLLM on Kubernetes: minimal deployment
A plain Deployment and Service using the official vllm/vllm-openai image, one NVIDIA GPU, and a small open model — shaped after the vLLM Kubernetes deployment docs. For engine-versus-platform trade-offs, see KServe vs vLLM. KServe vs vLLM.
Manifest shape follows docs.vllm.ai deployment/k8s (NVIDIA GPU example). Model name is from the vLLM OpenAI-server quickstart; pin an image tag in production.
apiVersion: apps/v1
kind: Deployment
metadata:
name: vllm-opt
spec:
replicas: 1
selector:
matchLabels:
app: vllm-opt
template:
metadata:
labels:
app: vllm-opt
spec:
containers:
- name: vllm
image: vllm/vllm-openai:latest
args: ["--model", "Qwen/Qwen2.5-1.5B-Instruct"]
ports:
- containerPort: 8000
resources:
limits:
nvidia.com/gpu: "1"
requests:
nvidia.com/gpu: "1"
---
apiVersion: v1
kind: Service
metadata:
name: vllm-opt
spec:
selector:
app: vllm-opt
ports:
- port: 8000
targetPort: 8000
curl http://vllm-opt.default.svc.cluster.local:8000/v1/completions \
-H "Content-Type: application/json" \
-d '{
"model": "Qwen/Qwen2.5-1.5B-Instruct",
"prompt": "San Francisco is a",
"max_tokens": 7,
"temperature": 0
}'
Guides
Related guides.
KServe vs vLLM on Kubernetes: When You Need Each
vLLM is the inference engine; KServe is the serving platform around it. When to run a plain Deployment versus KServe on Kubernetes.
Autoscaling vLLM with KEDA: queue depth signals
Scale vLLM on Kubernetes with KEDA on Prometheus queue metrics: ScaledObject shape, vllm:num_requests_waiting, and how this relates to KServe autoscaling.
Inference Budget Guard: token budgets before the GPU
Per-team inference budgets on the gateway path: reserve estimated cost before chat completion, settle after, fail closed. Status from ai-runtime-platform.
Related cases
Evidence nearby.
AI Runtime Platform
AI workloads often start as API calls but become production systems that need identity, policy, scaling, telemetry, and clear ownership
Every model call: policy + trace + budget
LLM Infrastructure Runtime
LLM workloads move faster than traditional platform controls and can quickly become expensive, opaque, and hard to operate
LLM serving with operability signals
Cloud-Native AI Gateway
AI usage needs routing, policy, budget awareness, and provider resilience
One boundary: rate, budget, fallback, OTel
Cost and Token Observability
AI and cloud costs can grow quietly when usage is disconnected from teams, services, and deployment changes
Token spend visible before finance week
Related hubs