forked from ab/homelab
Update k8s/apps/immich/deployments.yaml
This commit is contained in:
@ -71,59 +71,6 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/localtime
|
path: /etc/localtime
|
||||||
type: File
|
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
|
apiVersion: apps/v1
|
||||||
@ -149,7 +96,7 @@ spec:
|
|||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- home.homenet
|
- home.homenet
|
||||||
#- nas.homenet
|
- master.tail2fe2d.ts.net
|
||||||
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 30
|
- weight: 30
|
||||||
@ -158,7 +105,7 @@ spec:
|
|||||||
- key: kubernetes.io/hostname
|
- key: kubernetes.io/hostname
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- nas.homenet
|
- master.tail2fe2d.ts.net
|
||||||
- weight: 70
|
- weight: 70
|
||||||
preference:
|
preference:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
|
Reference in New Issue
Block a user