Repository navigation
Description
Problem or Motivation
Every Ollama tier in k8s/llm/profiles/ollama-profiles.yaml runs ollama/ollama:0.34.4, in its ollama container and in its own-model-directory init container. Ollama 0.34.4 cannot run embeddinggemma-2 on Linux. Ollama 0.40.0 added that model for Apple MLX only, and 0.40.4 added multimodal embedding models through llama-server, which is the Linux path. The current release is 0.40.12 (2026-10-27). An evaluation of embeddinggemma-2 as the RAG embedding model needs a tier that can run it.
Proposed Solution & Architectural Design
- Set the image of each
ollamacontainer and eachown-model-directoryinit container toollama/ollama:0.40.12. - Add a spec and an invariant test: every Ollama tier runs one Ollama release, and that release is 0.40.4 or later.
- Update the knowledge-base fact that cites the 0.34.4 scheduler source.
Checked on 2026-10-28 with temporary pods of ollama/ollama:0.40.12 (same security context, models read-only or in an emptyDir) on the Quadro P6000 (compute 6.1) and Tesla PG500-216 (compute 7.0) nodes:
- Both GPUs are found through the
cuda_v12libraries.cuda_v13skips compute 6.1, and the driver (580) meets the 570 minimum that 0.34.4 also had. /api/tagslists the same models as the live 0.34.4 tier. With the sameOLLAMA_KV_CACHE_TYPE,qwen3-embedding:0.6bvectors from 0.40.12 have a cosine of 0.9995 to 0.9997 against 0.34.4, so the Qdrant index stays valid.embeddinggemma-2:270mand:740mpull and run on both GPUs: 768 dimensions, no NaN values, GPU against CPU cosine 0.9999. The text vectors of the two tags are identical.- Source of v0.40.12: the background model migration of 0.40.2 stays disabled (
server/routes.go, PR server: skip local model compatibility migration ollama/ollama#18908), so no model is copied on disk. EveryOLLAMA_*variable that the tiers set is still read.llama-servergets the environment of Ollama, soLLAMA_ARG_CACHE_RAMstill applies.OLLAMA_NO_CLOUDstops the new model-recommendations request before it is sent. - Rollback: 0.40.12 reads the existing
manifestsdirectory and writes new pulls tomanifests-v2. A return to 0.34.4 keeps every current model, but 0.34.4 does not see a model pulled under 0.40.12.
Target Subsystem
Kubernetes manifests (k8s/llm/profiles/).
Existing Tool Considered
The upstream Ollama release and its official image cover the need. The change builds no code. Renovate's kubernetes manager matches k8s/ (#2323), but it has opened no pull request for ollama/ollama.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNew
Activity
dan-petty commentedon Oct 28, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The title uses the chore(deps) prefix and the change is a dependency version bump in manifests.It unblocks a planned embedding model evaluation but the current setup still works.It enables embeddinggemma-2 evaluation and keeps the image current, but does not fix a broken path.The change is a tag update in YAML, one invariant test, and one doc line, all verified in the body.Both touch the Ollama tiers and embedding models, but #2089 fixes a context-size bug while this candidate bumps the image version.