Repository navigation
Description
Problem Description
The ollama container of the ollama-16gib DaemonSet (k8s/llm/profiles/ollama-profiles.yaml) requests 8Gi of memory and sets no memory limit. Its node, hawk, now has 16 GiB of RAM (it had 64 GiB). The tier serves nothing (k8s/README.md, GPU Placement), but a DaemonSet pod still runs on a cordoned node. A request that loads a model straight to the tier, past the gateway, can take all of the free RAM of hawk, because no limit stops the container. Only ollama-64gib (8Gi request, 12Gi limit) and the two embed tiers (2Gi request, 4Gi limit) set a memory limit now.
Reproduction Steps
kubectl -n llm get ds ollama-16gib -o jsonpath='{.spec.template.spec.containers[?(@.name=="ollama")].resources}'shows{"requests":{"cpu":"3000m","memory":"8Gi"}}and nolimits.kubectl get node hawk -o jsonpath='{.status.capacity.memory}'shows 16240676Ki (15.5 GiB).
Expected vs Actual Behavior
Expected: the container has a memory limit that fits hawk. When the tier loads a model and goes over the limit, the kernel stops the container, not the node. The sum of the memory limits of the pods on hawk stays below its allocatable (about 13 GiB after the system reservation of dan-petty/homelab pull request 19).
Actual: no limit.
Environment Diagnostics
Live read on 2026-11-12: ollama-16gib uses 283Mi idle; ollama-64gib uses 6602Mi with qwen3.8:27b loaded (kubectl top pod -n llm). Other pods on hawk have memory limits of 768Mi, 768Mi, 256Mi and 256Mi.
Logs, Traces, or Terminal Output
Related: #3785 (crashes of hawk).
Activity
dan-petty commentedon Nov 12, 2026
Both address missing memory limits on ollama containers, but the candidate is a one-line YAML fix while #4992 is a KRR-based automation for all containers.devops-cli-service commentedon Nov 12, 2026
Released in v0.120.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.120.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 16:17 UTC