Fix ollama deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2024-05-10 21:48:03 -04:00
parent 66b8e61f40
commit 2136b0db12
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ollama-deployment
name: ollama
namespace: ollama-ns
spec:
replicas: 1
@ -26,10 +26,10 @@ spec:
- containerPort: 11434
resources:
limits:
nvidia.com/gpu: 2
nvidia.com/gpu: 3
volumeMounts:
- name: ollama-volume
mountPath: "/my-models"
mountPath: "/root/.ollama"
volumes:
- name: ollama-volume
persistentVolumeClaim: