Skip to content

chore(ai): remove the code, config and policies left over from the removed vLLM deployments (#820) - #1552

Merged
dan-petty merged 1 commit into
release/v0.2.34from
chore/820-remove-vllm-deployments
Oct 10, 2026
Merged

dan-petty merged 1 commit into
release/v0.2.34from
chore/820-remove-vllm-deployments

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

Resolves #820.

fdd4d0f (#734) deleted the vLLM profiles (k8s/llm/profiles/vllm-profiles.yaml). This change cleans up all dead code, configurations, defaults, CLI commands, FastMCP tools, Kubernetes manifests, and network policies left over from the removed vLLM deployments, in accordance with the pre-1.0 alpha cleanliness policy (no backwards compatibility shims).

Key Changes

  • Defaults, Settings & Constants:
    • Removed DEFAULT_VLLM_16GIB_CLUSTER_URL and DEFAULT_VLLM_48GIB_CLUSTER_URL from config/defaults.py.
    • Removed vllm_url field from AIConfig in config/settings.py.
    • Updated CONST_AI_BACKENDS = ("ollama",) in config/constants.py.
  • Gateway & CLI Commands:
    • Removed scale_vllm and _execute_kubectl_scale from ai/gateway.py.
    • Removed devops ai gateway scale CLI command (scale_cmd) and _render_scale_table from commands/ai_gateway.py.
    • Updated DEFAULT_GATEWAY_ROUTES to route devops-coder (qwen2.5-coder:14b) and devops-reasoning (qwen3-coder:30b) to DEFAULT_OLLAMA_CLUSTER_URL.
    • Cleaned _resolve_backend_url and probe_backend in ai/gateway.py.
    • Removed vLLM busy share and queue metrics from devops ai gateway load and ai/pool_load.py.
  • FastMCP Tool:
    • Removed ai_vllm_scale from ai/mcp/server.py.
  • Kubernetes Manifests & Policies:
    • Deleted k8s/llm/profiles/networkpolicy.yaml (vllm-profiles-perimeter) and removed from k8s/llm/profiles/kustomization.yaml.
    • Removed vllm and vllm-single from perimeter exclusions in k8s/llm/networkpolicy.yaml.
    • Removed port 8000 egress rules from k8s/llm/gateway/networkpolicy.yaml, k8s/llm/portkey/networkpolicy.yaml, and k8s/monitoring/networkpolicy.yaml.
    • Removed vllm-backend from k8s/llm/portkey/configmap.yaml.
    • Cleaned comments and table references across k8s/llm/values-open-webui.yaml, k8s/llm/profiles/README.md, and k8s/llm/gateway/configmap.yaml.
  • Devcontainer:
    • Updated ollama.endpoint in .devcontainer/devcontainer.json to http://ollama-16gib.llm.svc.cluster.local:11434.
  • Preserved Generic Engine Support:
    • Retained CONST_CONTINUOUS_BATCHING_ENGINES, gateway_bench.py KV-cache token parsing, openai.py:20 docstring, and samples.json review sample data.
  • Tests & Documentation:
    • Added regression test test_vllm_dead_settings_commands_and_mcp_tools_are_removed in tests/test_codebase_hygiene_and_shims.py.
    • Added file-only test test_devcontainer_ollama_endpoint_matches_gateway_service_and_port in tests/test_devcontainer.py.
    • Regenerated CLI and MCP documentation (docs/CLI_REFERENCE.md, docs/MCP_TOOLS.md, docs/CONFIGURATION.md, docs/commands/ai.md).
    • Added changelog fragment changelog.d/820.md and task file docs/agent/tasks/task-820-remove-vllm-deployments.md.

Verification

  • uv run devops ci passed locally 100% across all 15 quality gates (pytest, coverage, lint, format, typecheck, security, docs, etc.).

@dan-petty
dan-petty merged commit 5cf15f8 into release/v0.2.34 Oct 10, 2026
11 checks passed
@dan-petty
dan-petty deleted the chore/820-remove-vllm-deployments branch October 10, 2026 23:24
dan-petty added a commit that referenced this pull request Oct 11, 2026
* feat(ai): clean unread syntopical and cognitive research settings (#273) (#1551)

* chore(ai): remove the code, config and policies left over from the removed vLLM deployments (#820) (#1552)

* feat(ai): agentic information foraging & scent trails (#274) (#1553)

* fix(ai): reindex knowledge base on drift and inspect qdrant store (#1139) (#1554)

- Record installed knowledge base digest, embedding model, and timestamp on Qdrant points
- Rebuild knowledge base on first RAG use if points missing or digest differs, with 30m failure cooldown
- Update rag drift to inspect per-project Qdrant points and KB digest drift
- Update rag status to display points, embedding model, dimension, KB digest, and last index time
- Register and emit devops_cli_rag_points telemetry gauge
- Add test suite in tests/test_rag_kb_sync.py

* feat(docker): container commands find Podman engine and rootless sandboxes write workspace (#1117) (#1555)

- Resolve engine endpoints in precedence order: CONTAINER_HOST, DOCKER_HOST, DOCKER_CONTEXT, currentContext, rootless Podman, rootful Podman (with R/W check), Docker default
- Raise configuration error naming CONTAINER_HOST if CONTAINER_CONNECTION is set
- Guide user to set CONTAINER_HOST/DOCKER_HOST or run systemctl --user enable --now podman.socket on default dial failure
- Introspect engine facts (kind, is_rootless, security_options) with memoization
- Map sandbox container user to 0:0 on rootless engines so workloads can write mounted workspaces
- Drop uncalculated first stats frame and compute CPU deltas from second frame
- Inform user and exit 1 on devops docker cache for Podman without calling prune_builds or df
- Poll get_engine().ping() in _wait_for_docker_daemon without subprocess
- Propagate DOCKER_HOST to Dive and allow XDG_RUNTIME_DIR in Cosign
- Remove DEFAULT_CONTAINER_ENGINE and BIN_DOCKER constants
- Add documentation in cheatsheets and knowledge base, and changelog fragment

* fix(k8s): remove monitoring Service aliases and direct consumers to Helm chart Services (#1104) (#1556)

* fix(ai): a rag collection records its embedding model, a mismatch fails instead of wiping the collection, and ranking keeps the cosine score (#1066) (#1557)

* fix(ai): a rag collection records its embedding model, a mismatch fails instead of wiping the collection, and ranking keeps the cosine score (#1066)

* fix(ai): isolate search verified model cache per instance and test run

* feat(cli): worktree inventory & safe orphan reclamation (devops repos worktrees) (#700) (#1558)

* fix(k8s): tunnel sync and url setup preserve existing routes, catch-all, and remote URLs (#794) (#1559)

* fix(ai): a partial pricing snapshot replaces the whole catalog and never expires (#793) (#1560)

* feat(github): defect prs carry their hardening readiness blocker and post-merge audit (#697) (#1561)

* refactor(review): delete the legacy segment engine and the whole-file reviewer (#995) (#1564)

* chore(service): hold the roadmap service at 0 replicas while its machine account is suspended (#1562) (#1563)

GitHub suspended the Service's machine account. The deployment asks for
0 replicas so an Argo CD sync or deploy-stack cannot start it again, and
AGENTS.md and k8s/README.md tell people and agents not to scale, restart
or re-push secrets for it, and to leave its blocked items alone.

Closes #1562


Claude-Session: https://claude.ai/code/session_01S4n2mumzbvufbjZbXcX5JV

Co-authored-by: Claude <noreply@anthropic.com>

* docs(agents): AGENTS.md fits a context budget and Claude Code loads it (#841) (#1565)

* feat(release): v0.2.34

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant