vLLM production-stack
Gets the vLLM project's reference Kubernetes stack running: serving-engine Deployments per model, a router that
spreads OpenAI-compatible requests, and optional LMCache offload, Prometheus, Grafana and KEDA. Verified against
production-stack chart vllm-stack 0.1.13 (2026-10-11).
Scope: this Helm chart (and its operator CRDs): install, configure, route, scale, upgrade, troubleshoot. Engine
flags belong to vllm; the heavier scheduler-based alternative is llm-d; the CRD platform is kserve.
Work through the steps in order. Load a reference only when a step names it.
Discover first
Read-only; never prints secrets.
kubectl config current-context
kubectl get nodes -o custom-columns='NAME:.metadata.name,GPU:.status.allocatable.nvidia\.com/gpu'
kubectl get runtimeclass 2>/dev/null
helm list -A 2>/dev/null | grep -i vllm-stack
kubectl get deploy,svc,pvc,servicemonitor,scaledobject 2>/dev/null | grep -i vllm
helm search repo vllm/vllm-stack --versions 2>/dev/null | head -5
curl -s -m 5 http://localhost:30080/v1/models | jq '.data[].id' # after a port-forward to the router
Decision flow
- New install ->
references/install.md: helm repo add, a values file, a pinned --version.
- Write the values in
references/values.md: one modelSpec entry per model; engine args under vllmConfig.
Start from templates/values-minimal.yaml.
- Pick routing in
references/routing.md: roundrobin (default), session (sticky by header),
prefixaware, kvaware (needs LMCache controller), priority, or disaggregated prefill.
- Add features from
references/features.md: LMCache CPU offload, several models, LoRA, tool calling,
API key, sleep mode, pipeline parallel with Ray.
- Scale and observe:
references/scaling-and-observability.md (KEDA on queue depth, ServiceMonitor, dashboards).
- Upgrade or break:
references/updating.md, references/troubleshooting.md.
- Outgrown it? Cache- and load-aware scheduling with a gateway standard ->
llm-d; platform CRDs -> kserve.
Rules
- Ask before changing the cluster. Installs create Deployments, PVCs and optionally a Prometheus stack. Show
helm template output or --dry-run and the helm uninstall undo first.
- Pin images and chart. Chart defaults use
tag: "latest" for engine and router images. Set explicit tags and
--version.
- Secrets by reference. Use
hf_token: {secretName, secretKey} and vllmApiKey: {secretName, secretKey}
pointing at Secrets created from 0600 files. Several upstream examples put tokens in values files; do not
commit those.
- Match routing to the engine.
kvaware and LMCache features need an LMCache-enabled engine image; plain
vllm/vllm-openai does not have them.
- Request GPUs explicitly.
requestGPU must match tensorParallelSize per replica.
- Keep the router internal unless you add TLS and auth; set the engine API key.
Quick start
helm repo add vllm https://vllm-project.github.io/production-stack && helm repo update
kubectl create secret generic hf-token --from-file=token=/path/to/token-file # gated models only
helm install vllm vllm/vllm-stack --version 0.1.13 -f templates/values-minimal.yaml
kubectl get pods -w
kubectl port-forward svc/vllm-router-service 30080:80 &
curl -s localhost:30080/v1/models | jq
curl -s localhost:30080/v1/completions -H 'Content-Type: application/json' \
-d '{"model":"facebook/opt-125m","prompt":"Hello","max_tokens":16}' | jq '.choices[0].text'
Uninstall with helm uninstall vllm (PVCs stay until deleted).
Workflows
Reference index
references/install.md: Helm repo, versions, prerequisites, operator alternative, cloud notes.
references/values.md: servingEngineSpec, modelSpec, vllmConfig, routerSpec, storage and secrets.
references/routing.md: routing logics, session keys, LMCache controller, priority, disaggregated prefill.
references/features.md: LMCache offload, multi-model, LoRA, tools, API key, sleep mode, Ray, Gateway API.
references/scaling-and-observability.md: KEDA, ServiceMonitor, Grafana, tracing.
references/updating.md: chart upgrade, image bumps, rollback.
references/troubleshooting.md: symptom to fix.
templates/: minimal, prefix-aware with KEDA values.
Companion skills
vllm: engine flags, parsers and tuning for vllmConfig.extraArgs. Install: npx skills add ScaleDockHQ/llm-skills --skill vllm.
llm-d: scheduler-based alternative with precise prefix routing. Install: npx skills add ScaleDockHQ/llm-skills --skill llm-d.
kserve: CRD-based platform. Install: npx skills add ScaleDockHQ/llm-skills --skill kserve.
keda: event-driven autoscaling used by the chart. Install: npx skills add ScaleDockHQ/llm-skills --skill keda.
prefix-aware-routing: why and when. Install: npx skills add ScaleDockHQ/llm-skills --skill prefix-aware-routing.
kv-cache-offloading: LMCache and offload concepts. Install: npx skills add ScaleDockHQ/llm-skills --skill kv-cache-offloading.
1---2name: vllm-production-stack3description: Deploy the vLLM production-stack Helm chart (vllm-stack) on Kubernetes, the vLLM project's router plus serving engines with LMCache KV offload and Grafana. Use for helm install vllm/vllm-stack, values.yaml (servingEngineSpec, routerSpec), routing logic (roundrobin, session, prefixaware, kvaware, disaggregated prefill), multi-model, LoRA, KEDA, upgrades. Fixes router 502 or no models, pods Pending, wrong routing. Not for KServe (kserve), llm-d (llm-d) or single-node vLLM (vllm).4license: MIT5compatibility: A Kubernetes cluster with NVIDIA GPU nodes (the NVIDIA runtime class), kubectl, Helm 3 and git, curl and jq. Cluster installs, Secrets, KEDA and exposure need the user's explicit approval.6metadata:7 source: https://skillmd.com/skills/scaledockhq/vllm-production-stack8 author: ScaleDockHQ9 version: "0.1.0"10---1112# vLLM production-stack1314Gets the vLLM project's reference Kubernetes stack running: serving-engine Deployments per model, a router that15spreads OpenAI-compatible requests, and optional LMCache offload, Prometheus, Grafana and KEDA. Verified against16production-stack chart `vllm-stack` 0.1.13 (2026-10-11).1718**Scope:** this Helm chart (and its operator CRDs): install, configure, route, scale, upgrade, troubleshoot. Engine19flags belong to `vllm`; the heavier scheduler-based alternative is `llm-d`; the CRD platform is `kserve`.2021Work through the steps in order. Load a reference only when a step names it.2223## Discover first2425Read-only; never prints secrets.2627```bash28kubectl config current-context29kubectl get nodes -o custom-columns='NAME:.metadata.name,GPU:.status.allocatable.nvidia\.com/gpu'30kubectl get runtimeclass 2>/dev/null31helm list -A 2>/dev/null | grep -i vllm-stack32kubectl get deploy,svc,pvc,servicemonitor,scaledobject 2>/dev/null | grep -i vllm33helm search repo vllm/vllm-stack --versions 2>/dev/null | head -534curl -s -m 5 http://localhost:30080/v1/models | jq '.data[].id' # after a port-forward to the router35```3637## Decision flow38391. **New install** -> `references/install.md`: `helm repo add`, a values file, a pinned `--version`.402. **Write the values** in `references/values.md`: one `modelSpec` entry per model; engine args under `vllmConfig`.41 Start from `templates/values-minimal.yaml`.423. **Pick routing** in `references/routing.md`: `roundrobin` (default), `session` (sticky by header),43 `prefixaware`, `kvaware` (needs LMCache controller), `priority`, or disaggregated prefill.444. **Add features** from `references/features.md`: LMCache CPU offload, several models, LoRA, tool calling,45 API key, sleep mode, pipeline parallel with Ray.465. **Scale and observe**: `references/scaling-and-observability.md` (KEDA on queue depth, ServiceMonitor, dashboards).476. **Upgrade or break**: `references/updating.md`, `references/troubleshooting.md`.487. **Outgrown it?** Cache- and load-aware scheduling with a gateway standard -> `llm-d`; platform CRDs -> `kserve`.4950## Rules5152- **Ask before changing the cluster.** Installs create Deployments, PVCs and optionally a Prometheus stack. Show53 `helm template` output or `--dry-run` and the `helm uninstall` undo first.54- **Pin images and chart.** Chart defaults use `tag: "latest"` for engine and router images. Set explicit tags and55 `--version`.56- **Secrets by reference.** Use `hf_token: {secretName, secretKey}` and `vllmApiKey: {secretName, secretKey}`57 pointing at Secrets created from `0600` files. Several upstream examples put tokens in values files; do not58 commit those.59- **Match routing to the engine.** `kvaware` and LMCache features need an LMCache-enabled engine image; plain60 `vllm/vllm-openai` does not have them.61- **Request GPUs explicitly.** `requestGPU` must match `tensorParallelSize` per replica.62- **Keep the router internal** unless you add TLS and auth; set the engine API key.6364## Quick start6566```bash67helm repo add vllm https://vllm-project.github.io/production-stack && helm repo update68kubectl create secret generic hf-token --from-file=token=/path/to/token-file # gated models only69helm install vllm vllm/vllm-stack --version 0.1.13 -f templates/values-minimal.yaml70kubectl get pods -w71kubectl port-forward svc/vllm-router-service 30080:80 &72curl -s localhost:30080/v1/models | jq73curl -s localhost:30080/v1/completions -H 'Content-Type: application/json' \74 -d '{"model":"facebook/opt-125m","prompt":"Hello","max_tokens":16}' | jq '.choices[0].text'75```7677Uninstall with `helm uninstall vllm` (PVCs stay until deleted).7879## Workflows8081- [ ] Install -> `references/install.md`82- [ ] Configure -> `references/values.md`, `references/routing.md`83- [ ] Features -> `references/features.md`84- [ ] Scale and monitor -> `references/scaling-and-observability.md`85- [ ] Upgrade -> `references/updating.md`86- [ ] Diagnose -> `references/troubleshooting.md`87- [ ] Done when: engine pods Ready, `/v1/models` lists each model through the router, and one completion works.8889## Reference index9091- `references/install.md`: Helm repo, versions, prerequisites, operator alternative, cloud notes.92- `references/values.md`: `servingEngineSpec`, `modelSpec`, `vllmConfig`, `routerSpec`, storage and secrets.93- `references/routing.md`: routing logics, session keys, LMCache controller, priority, disaggregated prefill.94- `references/features.md`: LMCache offload, multi-model, LoRA, tools, API key, sleep mode, Ray, Gateway API.95- `references/scaling-and-observability.md`: KEDA, ServiceMonitor, Grafana, tracing.96- `references/updating.md`: chart upgrade, image bumps, rollback.97- `references/troubleshooting.md`: symptom to fix.98- `templates/`: minimal, prefix-aware with KEDA values.99100## Companion skills101102- `vllm`: engine flags, parsers and tuning for `vllmConfig.extraArgs`. Install: `npx skills add ScaleDockHQ/llm-skills --skill vllm`.103- `llm-d`: scheduler-based alternative with precise prefix routing. Install: `npx skills add ScaleDockHQ/llm-skills --skill llm-d`.104- `kserve`: CRD-based platform. Install: `npx skills add ScaleDockHQ/llm-skills --skill kserve`.105- `keda`: event-driven autoscaling used by the chart. Install: `npx skills add ScaleDockHQ/llm-skills --skill keda`.106- `prefix-aware-routing`: why and when. Install: `npx skills add ScaleDockHQ/llm-skills --skill prefix-aware-routing`.107- `kv-cache-offloading`: LMCache and offload concepts. Install: `npx skills add ScaleDockHQ/llm-skills --skill kv-cache-offloading`.