remove nodeSelector and add resource requests
This commit is contained in:
@@ -15,8 +15,6 @@ spec:
|
|||||||
app: immich-app
|
app: immich-app
|
||||||
spec:
|
spec:
|
||||||
runtimeClassName: nvidia
|
runtimeClassName: nvidia
|
||||||
nodeSelector:
|
|
||||||
type: immich
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-redis
|
- name: wait-for-redis
|
||||||
image: busybox
|
image: busybox
|
||||||
@@ -76,6 +74,11 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: model-cache
|
- name: model-cache
|
||||||
mountPath: /cache
|
mountPath: /cache
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
nvidia.com/gpu: 1
|
||||||
|
limits:
|
||||||
|
nvidia.com/gpu: 1
|
||||||
volumes:
|
volumes:
|
||||||
- name: pictures
|
- name: pictures
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
Reference in New Issue
Block a user