This commit is contained in:
parent
66b8e61f40
commit
2136b0db12
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user