Topic hub

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.

01

Coverage

What this hub covers.

Running LLM inference on Kubernetes: vLLM and KServe, LLMInferenceService, OpenAI-compatible routing, queue-based autoscaling and token budgets.

Engine vs platform (vLLM, KServe InferenceService / LLMInferenceService).

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).

02

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
  }'
03

Guides

Related guides.

04

Related cases

Evidence nearby.

Case 19 · Flagship

AI Runtime Platform

  • Python
  • vLLM
  • KServe

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

Case 07

LLM Infrastructure Runtime

  • Queue
  • vLLM
  • KServe

LLM workloads move faster than traditional platform controls and can quickly become expensive, opaque, and hard to operate

LLM serving with operability signals

Case 02 · Flagship

Cloud-Native AI Gateway

  • Gateway
  • Providers
  • OpenTelemetry

AI usage needs routing, policy, budget awareness, and provider resilience

One boundary: rate, budget, fallback, OTel

Case 21

Cost and Token Observability

  • Meter
  • Owner
  • Budget

AI and cloud costs can grow quietly when usage is disconnected from teams, services, and deployment changes

Token spend visible before finance week

05

Related hubs

Nearby topics.

Available for meaningful infrastructure conversations

Build systems that stay calm under pressure.

Available for conversations

Talk infrastructure

Book a working session

Meet ↗

Evidence first

For deep dives

Explore the systems

All cases ↗