️ immich v1.1 / redis-lb

This commit is contained in:
auricom
2023-01-20 23:02:19 +01:00
parent 2329193d1e
commit 3af0e2f965
20 changed files with 306 additions and 179 deletions

View File

@@ -3,7 +3,7 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: immich-web
name: &app immich-web
namespace: default
spec:
interval: 15m
@@ -30,11 +30,13 @@ spec:
- name: immich-server
values:
controller:
replicas: 3
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
image:
repository: ghcr.io/immich-app/immich-web
tag: v1.41.1_64-dev
tag: v1.42.0_65-dev
command: /bin/sh
args:
- ./entrypoint.sh
@@ -48,14 +50,46 @@ spec:
ports:
http:
port: 3000
ingress:
main:
enabled: true
ingressClassName: nginx
annotations:
external-dns.home.arpa/enabled: "true"
nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite /api/(.*) /$1 break;
nignx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
hajimari.io/appName: Immich
hajimari.io/icon: heroicons:photo
hosts:
- host: &host photos.${SECRET_CLUSTER_DOMAIN}
paths:
- path: /
pathType: Prefix
- path: /api
pathType: Prefix
service:
name: immich-server
port: 3001
tls:
- hosts:
- *host
persistence:
library:
enabled: true
existingClaim: immich-nfs
mountPath: /usr/src/app/upload
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 100m
memory: 250Mi
cpu: 10m
memory: 100Mi
limits:
memory: 2000Mi
memory: 500Mi