🔧 immich

This commit is contained in:
auricom
2023-10-06 00:04:55 +02:00
parent db7f7528ff
commit 49e92000f5
5 changed files with 57 additions and 5 deletions

View File

@@ -31,7 +31,6 @@ spec:
- name: immich-redis
values:
controller:
replicas: 2
strategy: RollingUpdate
annotations:
configmap.reloader.stakater.com/reload: &configMap immich-configmap
@@ -48,11 +47,31 @@ spec:
service:
main:
enabled: false
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [44, 105]
persistence:
library:
enabled: true
existingClaim: immich-nfs
mountPath: /usr/src/app/upload
geocoding-dump:
enabled: true
type: emptyDir
mountPath: /usr/src/app/.reverse-geocoding-dump
geoname-dump:
enabled: true
type: emptyDir
mountPath: /usr/src/app/node_modules/local-reverse-geocoder/geonames_dump
transformers-cache:
enabled: true
type: emptyDir
mountPath: /usr/src/app/.transformers_cache
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
@@ -62,5 +81,9 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
gpu.intel.com/i915: 1
cpu: 100m
memory: 250Mi
memory: 1000Mi
limits:
gpu.intel.com/i915: 1
memory: 6000Mi