Skip to content

Commit 1227e97

Browse files
committed
Update deployment.yaml
1 parent 005e88e commit 1227e97

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

my-apps/ai/ollama/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ spec:
5555
value: "0.0.0.0:11434"
5656
- name: OLLAMA_MODELS
5757
value: "/root/.ollama/models"
58-
# Removed NVIDIA env vars - device plugin handles GPU access
58+
- name: OLLAMA_CONFIG
59+
value: "/etc/ollama/ollama.json"
5960
volumeMounts:
6061
- name: models
6162
mountPath: /root/.ollama
6263
- name: config
63-
mountPath: /root/.ollama/ollama.json
64+
mountPath: /etc/ollama/ollama.json
6465
subPath: ollama.json
6566
readOnly: true
6667
livenessProbe:
@@ -86,6 +87,5 @@ spec:
8687
- name: config
8788
configMap:
8889
name: ollama-configmap
89-
# Removed nvidia-driver hostPath - device plugin handles this
9090
nodeSelector:
9191
feature.node.kubernetes.io/pci-0300_10de.present: "true"

0 commit comments

Comments
 (0)