forked from ab/homelab
immich scheduling
This commit is contained in:
@ -1,3 +1,130 @@
|
|||||||
|
#---
|
||||||
|
#apiVersion: apps/v1
|
||||||
|
#kind: Deployment
|
||||||
|
#metadata:
|
||||||
|
# name: immich-server
|
||||||
|
#spec:
|
||||||
|
# replicas: 1
|
||||||
|
# selector:
|
||||||
|
# matchLabels:
|
||||||
|
# app: immich-server
|
||||||
|
# template:
|
||||||
|
# metadata:
|
||||||
|
# labels:
|
||||||
|
# app: immich-server
|
||||||
|
# spec:
|
||||||
|
# containers:
|
||||||
|
# - name: immich-server
|
||||||
|
# image: ghcr.io/immich-app/immich-server:release
|
||||||
|
# imagePullPolicy: Always
|
||||||
|
# ports:
|
||||||
|
# - containerPort: 2283
|
||||||
|
# env:
|
||||||
|
# - name: UPLOAD_LOCATION
|
||||||
|
# value: /usr/src/app/upload
|
||||||
|
# - name: DB_PASSWORD
|
||||||
|
# value: postgres
|
||||||
|
# - name: DB_USERNAME
|
||||||
|
# value: postgres
|
||||||
|
# - name: DB_DATABASE_NAME
|
||||||
|
# value: immich
|
||||||
|
# - name: REDIS_HOST
|
||||||
|
# value: redis
|
||||||
|
# - name: REDIS_PORT
|
||||||
|
# value: "6379"
|
||||||
|
# - name: TZ
|
||||||
|
# value: Asia/Nicosia
|
||||||
|
# volumeMounts:
|
||||||
|
# - mountPath: /usr/src/app/upload
|
||||||
|
# name: upload-storage
|
||||||
|
# - mountPath: /GPHOTO
|
||||||
|
# name: gphoto-storage
|
||||||
|
# - mountPath: /etc/localtime
|
||||||
|
# name: localtime
|
||||||
|
# readOnly: true
|
||||||
|
# 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
|
||||||
|
# volumes:
|
||||||
|
# - name: upload-storage
|
||||||
|
# persistentVolumeClaim:
|
||||||
|
# claimName: immich-upload-pvc
|
||||||
|
# - name: gphoto-storage
|
||||||
|
# persistentVolumeClaim:
|
||||||
|
# claimName: immich-gphoto-pvc
|
||||||
|
# - name: localtime
|
||||||
|
# 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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
Reference in New Issue
Block a user