Update k8s/apps/immich/deployments.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 8s

This commit is contained in:
ab
2025-05-12 16:21:55 +00:00
parent 46feecaa93
commit 17249696e1

View File

@ -61,7 +61,7 @@ kind: Deployment
metadata: metadata:
name: immich-machine-learning name: immich-machine-learning
spec: spec:
replicas: 2 replicas: 5
selector: selector:
matchLabels: matchLabels:
app: immich-ml app: immich-ml
@ -74,32 +74,32 @@ spec:
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms: nodeSelectorTerms:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
operator: In operator: In
values: values:
- nas.homenet - nas.homenet
- home.homenet - home.homenet
topologySpreadConstraints: topologySpreadConstraints:
- maxSkew: 1 - maxSkew: 1
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule whenUnsatisfiable: DoNotSchedule
labelSelector: labelSelector:
matchLabels: matchLabels:
app: immich-ml app: immich-ml
containers: containers:
- name: immich-ml - name: immich-ml
image: ghcr.io/immich-app/immich-machine-learning:release image: ghcr.io/immich-app/immich-machine-learning:release
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: TZ - name: TZ
value: Asia/Nicosia value: Asia/Nicosia
volumeMounts: volumeMounts:
- mountPath: /cache - mountPath: /cache
name: model-cache name: model-cache
volumes: volumes:
- name: model-cache - name: model-cache
emptyDir: {} emptyDir: {}
--- ---
apiVersion: apps/v1 apiVersion: apps/v1