From 348328f17c9b6d2b7a08afbd88dd3c5e9c5c8435 Mon Sep 17 00:00:00 2001 From: Jonathan Leech-Pepin Date: Thu, 7 Aug 2025 13:34:23 -0400 Subject: [PATCH] Ollama version bump and enforce recreate due to GPU limitations --- namespaces/ai/ollama/kustomization.yaml | 5 +++++ namespaces/ai/ollama/patches/deployment.yaml | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/namespaces/ai/ollama/kustomization.yaml b/namespaces/ai/ollama/kustomization.yaml index ab4a054..816f4c7 100644 --- a/namespaces/ai/ollama/kustomization.yaml +++ b/namespaces/ai/ollama/kustomization.yaml @@ -1,6 +1,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization +images: + - name: image + newName: ollama/ollama + newTag: 0.11.3 + transformers: - |- apiVersion: builtin diff --git a/namespaces/ai/ollama/patches/deployment.yaml b/namespaces/ai/ollama/patches/deployment.yaml index 70285c4..1d93f84 100644 --- a/namespaces/ai/ollama/patches/deployment.yaml +++ b/namespaces/ai/ollama/patches/deployment.yaml @@ -3,6 +3,8 @@ kind: Deployment metadata: name: app spec: + strategy: + type: Recreate # Needed since only 1 GPU template: spec: runtimeClassName: nvidia @@ -13,7 +15,7 @@ spec: effect: "NoSchedule" containers: - name: ollama - image: ollama/ollama:0.6.7 + image: image imagePullPolicy: IfNotPresent resources: limits: