Repository navigation
Closed
Labels
priority/p2-mediumPriority P2: standard workscope/aiAI review pipeline, personas, prompts, LLM client, or RAGscope/k8sKubernetes commands, Helm charts, pods, services, and policiestype/featureType feature: a new function
Milestone
Description
Problem
The k8s/llm stack cannot run vLLM reliably on a cluster that also runs the Ollama DaemonSet:
- The vLLM Deployment only selects
nvidia.com/gpu.present, so it can land on GPUs vLLM does not support (pre-Ampere) or that cannot fit its model. - Ollama requests no
nvidia.com/gpuand sees every GPU on its node (NVIDIA_VISIBLE_DEVICES=all), so it silently competes with vLLM for the same VRAM; vLLM pre-allocates 95% of each GPU. - The served model (Llama 3.3 70B AWQ) barely fits two 24 GiB GPUs, and a single-GPU vLLM profile does not exist.
- vLLM cannot download weights through the SSL-bumping Squid proxy (the Squid CA is not trusted), keeps weights on an
emptyDir, and has no startup probe for multi-minute model loads.
Proposal
Place inference engines by GPU architecture:
- vLLM (dual-GPU): nodes with 2+ Ampere-or-newer GPUs; Qwen2.5-Coder-32B-Instruct-AWQ, tensor parallel 2, 64K context (YaRN), serving
devops-reasoning. - vLLM (single-GPU): nodes with one Ampere-or-newer GPU (16 GiB+); Qwen2.5-Coder-14B-Instruct-AWQ, FP8 KV cache, serving
devops-coder. - Ollama: nodes whose GPUs are older than Ampere; keeps
devops-chat, embeddings and the direct fallback.
Selectors accept both NVIDIA GPU Feature Discovery labels (nvidia.com/gpu.family) and architecture labels (nvidia.com/gpu.architecture). vLLM gets a pinned image, a persistent model-cache PVC, the Squid CA bundle, a startup probe, Recreate rollouts, and LAN access through an auto-assigned NodePort Service. Gateway routes, Portkey and LiteLLM configs move to the new served model names via shared constants.
Acceptance criteria
- Manifest tests cover selectors, model arguments, probes, CA trust, PVC and NodePort Services.
- Gateway routes and configs reference the served-model constants.
-
uv run devops cipasses.
Scope extension: authenticated LLM gateway
Clients need one endpoint for all inference servers, so the same change deploys the LiteLLM gateway properly:
- LiteLLM bumped from
v1.61.16tov1.102.1; master key from thellm-gateway-secretsSecret, created at deploy time and never committed. - Gateway Service becomes the single LAN entry point (NodePort, Kubernetes-assigned port); vLLM Services stay ClusterIP behind it.
- Router timeout raised from 60 s to 600 s for long code reviews.
- Open WebUI's OpenAI connection points at the gateway with the shared master key.
- vLLM downloads disable Hugging Face Xet transfers, which fail authentication through the SSL-bumping proxy, and the 64K YaRN override sets
max_position_embeddings, which vLLM 0.30 reads instead of multiplying the factor.
Metadata
Metadata
Assignees
Labels
priority/p2-mediumPriority P2: standard workscope/aiAI review pipeline, personas, prompts, LLM client, or RAGscope/k8sKubernetes commands, Helm charts, pods, services, and policiestype/featureType feature: a new function
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]feat(k8s): place vLLM and Ollama by GPU architecture with dual- and single-GPU vLLM profiles[/-][+]feat(k8s): place vLLM and Ollama by GPU architecture behind an authenticated LLM gateway[/+]feat(k8s): place vLLM and Ollama by GPU architecture behind an authen…
dan-petty commentedon Sep 23, 2026
Closed by #457, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.feat(release): v0.2.23 (#681)