From 7fd990019d2646a6ece5b06afe3627004090dad5 Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Fri, 1 Aug 2025 08:53:12 +0530 Subject: [PATCH] remove nodeSelector and add resource requests --- cluster/apps/immich/immich.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cluster/apps/immich/immich.yml b/cluster/apps/immich/immich.yml index 1e3d9c7..d03dc1e 100644 --- a/cluster/apps/immich/immich.yml +++ b/cluster/apps/immich/immich.yml @@ -15,8 +15,6 @@ spec: app: immich-app spec: runtimeClassName: nvidia - nodeSelector: - type: immich initContainers: - name: wait-for-redis image: busybox @@ -76,6 +74,11 @@ spec: volumeMounts: - name: model-cache mountPath: /cache + resources: + requests: + nvidia.com/gpu: 1 + limits: + nvidia.com/gpu: 1 volumes: - name: pictures persistentVolumeClaim: