From 25f15fa9f785d64e96d78405f46f0cbd6bf00b14 Mon Sep 17 00:00:00 2001 From: ab Date: Tue, 13 May 2025 14:25:08 +0000 Subject: [PATCH] Update k8s/apps/immich/deployments.yaml --- k8s/apps/immich/deployments.yaml | 57 ++------------------------------ 1 file changed, 2 insertions(+), 55 deletions(-) diff --git a/k8s/apps/immich/deployments.yaml b/k8s/apps/immich/deployments.yaml index 9d8c97f..0970f41 100644 --- a/k8s/apps/immich/deployments.yaml +++ b/k8s/apps/immich/deployments.yaml @@ -71,59 +71,6 @@ spec: hostPath: path: /etc/localtime type: File -#--- -#apiVersion: apps/v1 -#kind: Deployment -#metadata: -# name: immich-machine-learning -#spec: -# replicas: 2 -# selector: -# matchLabels: -# app: immich-ml -# template: -# metadata: -# labels: -# app: immich-ml -# spec: -# affinity: -# nodeAffinity: -# preferredDuringSchedulingIgnoredDuringExecution: -# - weight: 100 -# preference: -# matchExpressions: -# - key: kubernetes.io/hostname -# operator: In -# values: -# - home.homenet -# requiredDuringSchedulingIgnoredDuringExecution: -# nodeSelectorTerms: -# - matchExpressions: -# - key: kubernetes.io/hostname -# operator: In -# values: -# - home.homenet -# - nas.homenet -# topologySpreadConstraints: -# - maxSkew: 1 -# topologyKey: kubernetes.io/hostname -# whenUnsatisfiable: DoNotSchedule -# labelSelector: -# matchLabels: -# app: immich-ml -# containers: -# - name: immich-ml -# image: ghcr.io/immich-app/immich-machine-learning:release -# imagePullPolicy: Always -# env: -# - name: TZ -# value: Asia/Nicosia -# volumeMounts: -# - mountPath: /cache -# name: model-cache -# volumes: -# - name: model-cache -# emptyDir: {} --- apiVersion: apps/v1 @@ -149,7 +96,7 @@ spec: operator: In values: - home.homenet - #- nas.homenet + - master.tail2fe2d.ts.net preferredDuringSchedulingIgnoredDuringExecution: - weight: 30 @@ -158,7 +105,7 @@ spec: - key: kubernetes.io/hostname operator: In values: - - nas.homenet + - master.tail2fe2d.ts.net - weight: 70 preference: matchExpressions: