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:
limits:
cpu: 2
memory: 1024Mi
cpu: '2'
memory: 1Gi
requests:
cpu: 50m
memory: 512Mi

View File

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

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

View File

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