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: