Skip to content

feat(ai): scaling figures from deployed manifests and discovered gpus (devops ai gateway scale) #597

Closed as not planned

Description

@dan-petty

Context & Rationale

GatewayRouter.scale_vllm (src/devops_cli/ai/gateway.py:475-512) multiplies by a literal 24 GB per GPU and defaults tensor parallelism to a literal 2. --apply only runs kubectl scale --replicas (gateway.py:308-326) on a vllm Deployment that no longer exists, yet the ai_vllm_scale MCP tool claims to "Inspect or configure" (ai/mcp/server.py:2762). LightLLM was removed in #727, together with scale_lightllm, the --backend option and the ai_lightllm_scale MCP tool, so scale always reports dual-GPU vLLM figures, though #734 removed the last vLLM workloads from k8s/llm in favor of the per-VRAM-tier Ollama DaemonSets. vibes observation 20 §2c found the model id, TP=2 and 24 GB literals in the vLLM scaler. #457 has since moved vLLM identity into DEFAULT_VLLM_* (config/defaults.py:90-96), which was a hand-written copy of the manifests and, since #734, names Services (vllm-48gib, vllm-16gib) that no longer exist. KV-cache discovery (ai/gateway_bench.py:71) and GPU discovery (ai/gateway_tune.py:188-228) already exist, but only tune uses them. The cluster runs no Portkey Deployment (kubectl get deploy -n llm).

Scope & Deliverables

Note (2026-10-01): #820 removes scale_vllm, ai_vllm_scale and the other vLLM leftovers. If #820 lands first, this item is rescoped to the Ollama tiers or closed as not planned; a person decides.

Strategic Alignment

  • Milestone: v0.2.23 (devops ai Review Quality, LLM Routing & Multi-Language Validation)
  • Roadmap Reference: docs/ROADMAP.md

Activity

  1. added this to the v0.2.23 milestone on Sep 25, 2026
  2. added
    type/feature
    scope/ai
    priority/p2-medium
    on Sep 25, 2026
  3. modified the milestones: v0.2.23, v0.2.24 on Sep 28, 2026
  4. removed this from the v0.2.23 milestone on Oct 1, 2026
  5. dan-petty commented on Oct 1, 2026

    @dan-petty
    OwnerAuthor

    Moved from the shipped v0.2.23 to the backlog. It is still valid (checked 2026-10-01), and P2 items don't displace P1 work in the planned releases.

  6. dan-petty commented on Oct 2, 2026

    @dan-petty
    OwnerAuthor

    Grooming (2026-10-02): closing as not planned. Its premise is gone: v0.2.24 removed the vLLM deployments (#734), and k8s/llm/profiles now holds only the Ollama profiles. #820 removes the vLLM code, config and policies left behind, #598 covers Ollama per-pod model residency, and #478 covers the gateway configuration this item fed. A skeptic re-check upheld the close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/aitype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions