Repository navigation
Description
Friction
Several consumers of Ollama point at VRAM tiers that have had no pods for weeks, since the 16 GiB and 24 GiB hosts went offline. ollama.<domain> answers 503 from Traefik, Open WebUI's first Ollama URL has no backend, devops k8s port-forward --stack llm and configure-urls target an empty Service, the CLI's direct-Ollama failover routes go nowhere, and the gateway's gpt-oss:20b group can reach only the empty ollama-16gib-fast (and devops-chat, devops-review and qwen3.8:27b include it in their pools). The routing names fixed VRAM sizes, so every host change silently breaks consumers. Open WebUI's RAG embedding is probably not tied to these tiers at all: no RAG Ollama URL is set, so it likely defaults to localhost.
Evidence
Live, read-only, 2026-10-18:
- Ingress
llm/ollama-ingress(Applicationingress, Synced at 3dd7fa6) has backend Serviceollama-16gib. - EndpointSlices with no endpoints: ollama-16gib, ollama-16gib-fast, ollama-24gib, ollama-24gib-slow. With one endpoint each: ollama-48gib, -48gib-fast, -48gib-slow, -64gib, -64gib-standard, ollama-fast, ollama-standard, ollama-slow.
- DaemonSets
ollama-16gibandollama-24gibdesire 0: their affinity requiresnvidia.com/gpu.total-vram-gibIn [16Gi,20Gi] or [24Gi,28Gi] (k8s/llm/profiles/ollama-profiles.yaml:68,212); the remaining nodes are labelled 48Gi (), 64Gi () and 48Gi (). kube_daemonset_status_number_ready: ollama-24gib at 0 since about 2026-10-03 and ollama-16gib since about 2026-10-11 (the hosts went offline; deleting their Node objects on 2026-10-17 only moved DESIRED to 0).- StatefulSet
open-webui-0:OLLAMA_BASE_URLS= ollama-24gib, then ollama-64gib; noRAG_OLLAMA_BASE_URLorOLLAMA_BASE_URL. Both are Open WebUI PersistentConfig values, so the URLs in use come from its database (Admin Panel, Settings, Connections), visible only to a person. - Traefik runs with
--providers.kubernetesingress.allowEmptyServices=true, hence 503 rather than 404.
Repo:
k8s/ingress/ingress-routes.yaml:90(backend ollama-16gib);k8s/llm/values-open-webui.yaml:18-22(ollamaUrls), comments at:37and:46describing a 16 GiB embedding node.src/devops_cli/config/defaults.py:92DEFAULT_OLLAMA_CLUSTER_SERVICE = "ollama-16gib", used bynetworking.py:1030(port-forward) and:499(configure-urls) and by the failover routes inai/gateway.py:47-59;defaults.py:428counts ollama-16gib-fast inDEFAULT_GATEWAY_REVIEW_SLOTS.k8s/llm/gateway/configmap.yaml:18,89,109,128route to ollama-16gib-fast; the README (:57-58,:88,:126) andk8s/llm/profiles/README.mddescribe ollama-16gib as the default live tier.k8s/llm/profiles/services.yaml:194-196,216-218: ollama-fast and ollama-standard still select by VRAM size; only ollama-slow is speed-only.- Related: fix(k8s): deploy-stack warns about GPU nodes no Ollama tier accepts, k8s/README.md documents GPU placement, and the gateway's ServiceMonitor moves to the llm stack #1367 makes deploy-stack warn about GPU nodes no tier accepts and documents GPU placement; it does not move consumers.
Remedy
- The owner records in
k8s/README.md(fix(k8s): deploy-stack warns about GPU nodes no Ollama tier accepts, k8s/README.md documents GPU placement, and the gateway's ServiceMonitor moves to the llm stack #1367's GPU placement section) which hosts and tiers are expected to serve; owner notes say the 16 GiB and 24 GiB hosts are offline for the foreseeable future. - Tests first: a test that every consumer default (
DEFAULT_OLLAMA_CLUSTER_SERVICE, the ollama ingress backend, Open WebUI'sollamaUrlsand RAG URL, the gateway'sapi_basetargets andDEFAULT_GATEWAY_REVIEW_SLOTS) names a Service whose selector matches a tier the README lists as serving. - Point
ollama-ingress(ingress-routes.yaml:90) andDEFAULT_OLLAMA_CLUSTER_SERVICE(defaults.py:92) at a served tier (ollama-48gib-fast/ollama-fast or ollama-64gib-standard/ollama-standard); the ingress and Open WebUI take Ollama's native API, so they cannot point at the gateway. - Open WebUI: set
ollamaUrls(values-open-webui.yaml:20-22) to served tiers andRAG_OLLAMA_BASE_URLexplicitly to the tier that keeps bge-m3 loaded (ollama-48gib-slow per the gateway config). Pending a person: update the persisted connections in Open WebUI's Admin Panel. - Gateway: remove or re-home the ollama-16gib-fast deployments in
k8s/llm/gateway/configmap.yaml(gpt-oss:20b needs another backend or leaves the model list) and updateDEFAULT_GATEWAY_REVIEW_SLOTS. - Update the README lines and the stale comments listed above. Longer term, consider a role-labelled Service per purpose (default, embedding) so consumers stop naming VRAM sizes.
Priority: P2. Severity medium when the CLI default and the gateway backend are counted with the ingress and Open WebUI: several user paths reach no pod.
Proposed design
Problem statement
The Ollama services in the Kubernetes cluster are misconfigured, with several consumers (Ingress, Open WebUI, CLI defaults, gateway) pointing to VRAM tiers that have no running pods. This causes 503 errors for Ingress, empty backends for Open WebUI and CLI tools, and broken routing for the gateway's devops-review group.
Acceptance criteria
- Criterion 1: The ollama ingress backend points to a service with active endpoints
Verification: kubectl get endpoints ollama-48gib-fast -n llm and verify it has at least one ready endpoint - Criterion 2: Open WebUI's ollamaUrls point to services with active endpoints
Verification: Check k8s/llm/values-open-webui.yaml and verify the services referenced have ready endpoints - Criterion 3: CLI default service points to a service with active endpoints
Verification: Verify DEFAULT_OLLAMA_CLUSTER_SERVICE in src/devops_cli/config/defaults.py points to a service with ready endpoints - Criterion 4: Gateway routing configuration points to services with active endpoints
Verification: Check k8s/llm/gateway/configmap.yaml and verify all api_base URLs point to services with ready endpoints - Criterion 5: RAG embedding URL in Open WebUI points to a service with active endpoints
Verification: Verify the RAG_OLLAMA_BASE_URL in Open WebUI's configuration points to a service with ready endpoints
Key questions
- Which VRAM tiers currently have running pods?: Based on the evidence, ollama-48gib, ollama-48gib-fast, ollama-48gib-slow, ollama-64gib, ollama-64gib-standard, ollama-fast, ollama-standard and ollama-slow have running pods. [sources: k8s/llm/profiles/ollama-profiles.yaml, k8s/README.md]
- What is the current default Ollama service used by CLI tools?: The current default Ollama service used by CLI tools is ollama-16gib. [sources: src/devops_cli/config/defaults.py:92]
- What services should be updated to point to active tiers?: The ollama ingress, CLI default service, Open WebUI's ollamaUrls and RAG URL, and gateway routing configuration should all be updated to point to active VRAM tiers. (proposed) [sources: k8s/ingress/ingress-routes.yaml:90, src/devops_cli/config/defaults.py:92, k8s/llm/values-open-webui.yaml:18-22, k8s/llm/gateway/configmap.yaml]
- Which VRAM tier is recommended for the default service?: Based on the context and available data, ollama-48gib-fast or ollama-fast are recommended as they have active pods and good performance characteristics. (proposed) [sources: k8s/llm/profiles/ollama-profiles.yaml, k8s/README.md]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 18, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate describes a functional issue where services point to tiers with no pods, causing failures.The issue causes multiple services to fail with 503s and empty backends, affecting core functionality.Fixing this resolves critical service availability issues for users of the LLM stack.Requires updating multiple configuration files and ensuring all consumers point to valid services.dan-petty commentedon Oct 18, 2026
Status set to Ready at 25e2cda (see proposed design in issue body).
fix(k8s): open webui, the ollama ingress, the gateway and the cli's d…