forked from ab/homelab
Update k8s/apps/immich/deployments.yaml
This commit is contained in:
@ -61,7 +61,7 @@ kind: Deployment
|
||||
metadata:
|
||||
name: immich-machine-learning
|
||||
spec:
|
||||
replicas: 2
|
||||
replicas: 5
|
||||
selector:
|
||||
matchLabels:
|
||||
app: immich-ml
|
||||
@ -74,32 +74,32 @@ spec:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- nas.homenet
|
||||
- home.homenet
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- nas.homenet
|
||||
- home.homenet
|
||||
topologySpreadConstraints:
|
||||
- maxSkew: 1
|
||||
topologyKey: kubernetes.io/hostname
|
||||
whenUnsatisfiable: DoNotSchedule
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app: immich-ml
|
||||
- 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
|
||||
- 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: {}
|
||||
- name: model-cache
|
||||
emptyDir: {}
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
|
Reference in New Issue
Block a user