forked from ab/homelab
Update k8s/apps/immich/deployments.yaml
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user