From 172014281f9f67bcece914a23c8c5a1a089c8e1e Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 2 Apr 2024 07:32:11 -0500 Subject: [PATCH] Fair. --- .../media/immich/app/machine-learning/helmrelease.yaml | 10 +++++----- .../media/immich/app/microservices/helmrelease.yaml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/kubernetes/apps/media/immich/app/machine-learning/helmrelease.yaml b/kubernetes/apps/media/immich/app/machine-learning/helmrelease.yaml index ffe0409e..4ae72bdf 100644 --- a/kubernetes/apps/media/immich/app/machine-learning/helmrelease.yaml +++ b/kubernetes/apps/media/immich/app/machine-learning/helmrelease.yaml @@ -28,7 +28,11 @@ spec: immich-machine-learning: annotations: reloader.stakater.com/auto: "true" - strategy: RollingUpdate + strategy: Recreate + pod: + nodeSelector: + nvidia.com/gpu.present: "true" + runtimeClassName: nvidia containers: app: image: @@ -59,10 +63,6 @@ spec: secretKeyRef: name: immich-pguser-immich key: uri - pod: - nodeSelector: - nvidia.com/gpu.present: "true" - runtimeClassName: nvidia service: app: controller: immich-machine-learning diff --git a/kubernetes/apps/media/immich/app/microservices/helmrelease.yaml b/kubernetes/apps/media/immich/app/microservices/helmrelease.yaml index 9c6f2865..58e6bc5f 100644 --- a/kubernetes/apps/media/immich/app/microservices/helmrelease.yaml +++ b/kubernetes/apps/media/immich/app/microservices/helmrelease.yaml @@ -29,6 +29,10 @@ spec: strategy: Recreate annotations: reloader.stakater.com/auto: "true" + pod: + nodeSelector: + nvidia.com/gpu.present: "true" + runtimeClassName: nvidia containers: app: image: @@ -62,10 +66,6 @@ spec: secretKeyRef: name: immich-pguser-immich key: uri - pod: - nodeSelector: - nvidia.com/gpu.present: "true" - runtimeClassName: nvidia service: app: controller: immich-microservices