update immich

This commit is contained in:
2025-10-27 16:23:10 +01:00
parent c669025b5e
commit 5819df868a
5 changed files with 40 additions and 57 deletions

View File

@@ -32,8 +32,8 @@ spec:
resources: resources:
limits: limits:
cpu: 2 cpu: '2'
memory: 1024Mi memory: 1Gi
requests: requests:
cpu: 50m cpu: 50m
memory: 512Mi memory: 512Mi

View File

@@ -6,7 +6,7 @@ resources:
- pvc.yaml - pvc.yaml
- immich.postgres.yaml - immich.postgres.yaml
- postgres.sealedsecret.yaml - postgres.sealedsecret.yaml
- servicemonitor.yaml # - servicemonitor.yaml
namespace: immich namespace: immich
@@ -15,20 +15,13 @@ namespace: immich
helmCharts: helmCharts:
- name: immich - name: immich
releaseName: immich releaseName: immich
version: 0.9.3 version: 0.10.1
valuesFile: values.yaml valuesFile: values.yaml
repo: https://immich-app.github.io/immich-charts repo: https://immich-app.github.io/immich-charts
images: images:
- name: ghcr.io/immich-app/immich-machine-learning - name: ghcr.io/immich-app/immich-machine-learning
newTag: v1.144.1 newTag: v2.0.1
- name: ghcr.io/immich-app/immich-server - name: ghcr.io/immich-app/immich-server
newTag: v1.144.1 newTag: v2.0.1
patches:
- path: patch-redis-pvc.yaml
target:
kind: StatefulSet
name: immich-redis-master

View File

@@ -1,17 +0,0 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: immich-redis-master
spec:
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: redis-data
spec:
storageClassName: nfs-client
accessModes:
- ReadWriteMany
resources:
requests:
storage: 2Gi

View File

@@ -4,8 +4,13 @@
# These entries are shared between all the Immich components # These entries are shared between all the Immich components
controllers:
main:
containers:
main:
env: env:
REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}' # some non-default vars
DB_HOSTNAME: "immich-postgresql-rw" DB_HOSTNAME: "immich-postgresql-rw"
DB_USERNAME: DB_USERNAME:
valueFrom: valueFrom:
@@ -22,7 +27,6 @@ env:
secretKeyRef: secretKeyRef:
name: postgres-password name: postgres-password
key: password key: password
IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
IMMICH_METRICS: true IMMICH_METRICS: true
immich: immich:
@@ -37,13 +41,15 @@ immich:
existingClaim: data existingClaim: data
# Dependencies # Dependencies
redis: valkey:
enabled: true enabled: true
architecture: standalone persistence:
auth: data:
enabled: false enabled: true
size: 1Gi
# Immich components # Optional: Set this to persistentVolumeClaim to keep job queues persistent
type: emptyDir
accessMode: ReadWriteOnce
server: server:
enabled: true enabled: true
@@ -56,7 +62,7 @@ machine-learning:
persistence: persistence:
cache: cache:
enabled: true enabled: true
size: 200Gi size: 10Gi
# Optional: Set this to pvc to avoid downloading the ML models every start. # Optional: Set this to pvc to avoid downloading the ML models every start.
type: emptyDir type: emptyDir
accessMode: ReadWriteMany accessMode: ReadWriteMany

View File

@@ -7,6 +7,7 @@ pkgs.mkShell {
kubeseal kubeseal
yq yq
jq jq
kubernetes-helm-wrapped
]; ];
env = { env = {