This commit is contained in:
parent
66b8e61f40
commit
2136b0db12
@ -1,7 +1,7 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama-deployment
|
name: ollama
|
||||||
namespace: ollama-ns
|
namespace: ollama-ns
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@ -26,10 +26,10 @@ spec:
|
|||||||
- containerPort: 11434
|
- containerPort: 11434
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
nvidia.com/gpu: 2
|
nvidia.com/gpu: 3
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ollama-volume
|
- name: ollama-volume
|
||||||
mountPath: "/my-models"
|
mountPath: "/root/.ollama"
|
||||||
volumes:
|
volumes:
|
||||||
- name: ollama-volume
|
- name: ollama-volume
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
Loading…
Reference in New Issue
Block a user