Repository navigation
Description
Context & Rationale
fdd4d0f (#734) deleted the vLLM profiles (k8s/llm/profiles/vllm-profiles.yaml). Yet 413 lines in src/, k8s/ and tests/ still mention vLLM (rg -c -i vllm src k8s tests). Many of them point at Services that no longer exist:
-
Defaults, routes and settings.
DEFAULT_VLLM_*CLUSTER_URLpoint at vllm-48gib and vllm-16gib (src/devops_cli/config/defaults.py:90-96). They are used by:- GatewayRouter's routes (src/devops_cli/ai/gateway.py:53-65);
scale_vllm(lines 475-510);- the probe (lines 521 and 577).
settings.vllm_urlalso remains (config/settings.py:428). -
Commands and the MCP tool.
devops ai gateway scaleandprobe(commands/ai_gateway.py:75-89, 221-255), and the MCP toolai_vllm_scale(ai/mcp/server.py:2758). -
Gateway load. The vLLM queries and columns in
devops ai gateway load(ai/pool_load.py:139-153; commands/ai_gateway.py:492-493, 540, 563). -
GPU matrix. gpu_matrix's
vllmbackend and itsvllm-*services (src/devops_cli/k8s/gpu_matrix.py:15-19, 117 and following; commands/k8s/gpu_matrix.py), andCONST_AI_BACKENDS(config/constants.py:1687). -
Network policies and k8s config.
- k8s/llm/profiles/networkpolicy.yaml: the whole
vllm-profiles-perimeterpolicy, port 8000; - k8s/llm/networkpolicy.yaml:15-16;
- k8s/llm/gateway/networkpolicy.yaml:43-49;
- k8s/llm/portkey/networkpolicy.yaml:45;
- k8s/monitoring/networkpolicy.yaml:101-103;
- Portkey's
vllm-backendvirtual key (k8s/llm/portkey/configmap.yaml:19); - k8s/llm/values-open-webui.yaml.
- k8s/llm/profiles/networkpolicy.yaml: the whole
-
Comments and docs. k8s/llm/gateway/configmap.yaml:87 and 180; k8s/README.md:69, 86, 119-125 and 267-268; k8s/llm/profiles/README.md.
-
Tests. tests/test_llm_pool_metrics.py:107-140 and 175-213, tests/test_ai_gateway.py, tests/test_ai_gateway_tune.py, tests/test_k8s_gpu_matrix.py and others.
-
Devcontainer.
.devcontainer/devcontainer.json:120sets the Ollama extension'sollama.endpointtohttp://vllm-16gib.llm.svc.cluster.local:8000. feat(k8s): modernize monitoring stack, llm profiles, traefik routing, and remove squid proxy #734 deleted that Service, and 8000 was vLLM's port. The configuredgpt-oss:20b(:121) is served byollama-16gibon port 11434 (k8s/llm/profiles/services.yaml;k8s/llm/gateway/configmap.yaml).
Other items already own some of these lines, so this item leaves them alone:
- feat(cli): devops-cli dashboards chart the metrics the cli sends and the grafana sidecar provisions them #692 deletes the
vllm/andvllm-single/tree lines ink8s/README.md:267-268; - fix(k8s): deploy-stack applies the llm gateway policy and narrows its egress #795 owns the README GPU-placement section (
k8s/README.md:119-126) and the fixed selector list intests/test_k8s_llm_gateway.py:427-457.
CLAUDE.md requires the codebase to stay clean of legacy references.
Scope & Deliverables
- Deliverable:
- Remove every reference that addresses the removed vLLM Services, or that describes this stack as running vLLM, together with their tests and docs.
- Point
.devcontainer/devcontainer.json'sollama.endpointathttp://ollama-16gib.llm.svc.cluster.local:11434, and add a file-only test that the endpoint names a Service and port ink8s/llm/profiles/services.yamlthat the gateway routesollama.modelto. - Regenerate docs/MCP_TOOLS.md and the CLI reference.
- Acceptance criteria:
rg -n -i vllm src k8s tests .devcontainerprints only the generic engine support kept by the key question below.devops ai gateway loadreports gateway and GPU figures with no vLLM columns.uv run devops cipasses.
- Key questions:
- Keep generic vLLM support? Yes (proposed). This covers the OpenAI provider docstring (ai/providers/openai.py:20),
CONST_CONTINUOUS_BATCHING_ENGINES(config/constants.py:2258) and the engine detection in gateway_bench (ai/gateway_bench.py:77-89). They work against any OpenAI-compatible server and name no component of this stack. - What about feat(ai): scaling figures from deployed manifests and discovered gpus (
devops ai gateway scale) #597, which builds onscale_vllm? It becomes moot. Close it as not planned, or rescope it to the Ollama tiers (proposed; a person decides). - What about the overlap with fix(k8s): deploy-stack applies the llm gateway policy and narrows its egress #795? This item removes the vLLM selectors from the gateway policy. If fix(k8s): deploy-stack applies the llm gateway policy and narrows its egress #795 hasn't landed by then, this item also updates the fixed selector list in tests/test_k8s_llm_gateway.py:427-457.
- What about the review data that mentions vLLM? Leave ai/review/common_hallucinations.json, samples.json and ai/tasks/review.md alone unless they describe this repository's stack (proposed).
- Priority? P1 (proposed): CLAUDE.md treats legacy references as something to keep out at all times.
- Keep generic vLLM support? Yes (proposed). This covers the OpenAI provider docstring (ai/providers/openai.py:20),
- Constraint: No behaviour change for Ollama routing. Pre-1.0, so commands are removed outright, not deprecated.
Strategic Alignment
- Milestone: Backlog
- Depends on: none. Related: fix(k8s): deploy-stack applies the llm gateway policy and narrows its egress #795, feat(cli): devops-cli dashboards chart the metrics the cli sends and the grafana sidecar provisions them #692, feat(ai): scaling figures from deployed manifests and discovered gpus (
devops ai gateway scale) #597, feat(ai): llm gateway tuning cost from real traffic and no-load capacity estimates #477, feat(ai): llm gateway tuning render and apply configuration with rollback #478, feat(review): group analysis is profiled as its own stage, and analysis.json counts dispatched, replayed and failed jobs apart #482, feat(cli): thinking-stream sanitizer initial state, unopened-tag count and thought cap #590 (their premises rest on vLLM).
Update 2026-10-08: refinement
296 vLLM lines remain (from 413). #1223 removed the matrix backend; #597 closed; #795 left its policy rule here (tests/test_k8s_llm_gateway.py:608-614, :770). Moved lines: config/defaults.py:93-99, config/settings.py:480, ai/mcp/server.py:2924, commands/ai_gateway.py:79-93, :301-335, config/constants.py:2439, :3748, ai/gateway.py:476-510, :524, :580. New site: ai/spend/pricing.py:72.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
chore(ai): remove the code, config and policies left over from the re…
dan-petty commentedon Oct 11, 2026
Merged
feat(release): v0.2.34 (#1566)