Reset to chart 0.8.5 with CNPG and pgvecto.rs 0.2.1

This commit is contained in:
Ruben Hensen
2026-01-21 16:55:03 +01:00
parent 5fbab618ab
commit 20d1e31115
2 changed files with 43 additions and 70 deletions
+22 -50
View File
@@ -16,74 +16,55 @@ spec:
sources: sources:
- chart: immich - chart: immich
repoURL: https://immich-app.github.io/immich-charts repoURL: https://immich-app.github.io/immich-charts
targetRevision: 0.10.3 targetRevision: 0.8.5
helm: helm:
values: | values: |
controllers:
main:
containers:
main:
image:
tag: v1.132.3
env: env:
# External PostgreSQL connection REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}'
# External PostgreSQL (CloudNativePG)
DB_HOSTNAME: "immich-postgres-rw" DB_HOSTNAME: "immich-postgres-rw"
DB_PORT: "5432"
DB_USERNAME: "immich" DB_USERNAME: "immich"
DB_DATABASE_NAME: "immich" DB_DATABASE_NAME: "immich"
# Reference the CNPG secret for password
DB_PASSWORD: DB_PASSWORD:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: immich-postgres-app name: immich-postgres-app
key: password key: password
# env: IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
# # Valkey (Redis replacement)
# REDIS_HOSTNAME: '{{ printf "%s-valkey" .Release.Name }}' image:
# IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}' tag: v1.125.7
immich: immich:
# metrics: metrics:
# enabled: false enabled: false
persistence: persistence:
library: library:
existingClaim: immich-claim existingClaim: immich-claim
# Enable Valkey (Redis replacement) # Disable built-in PostgreSQL - using CloudNativePG instead
valkey: postgresql:
enabled: false
redis:
enabled: true enabled: true
architecture: standalone
auth:
enabled: false
master:
persistence: persistence:
data:
enabled: true
size: 1Gi
storageClass: longhorn storageClass: longhorn
type: persistentVolumeClaim
accessMode: ReadWriteOnce
server: server:
enabled: true enabled: true
controllers:
main:
containers:
main:
image: image:
repository: ghcr.io/immich-app/immich-server repository: ghcr.io/immich-app/immich-server
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# probes:
# startup:
# enabled: true
# spec:
# initialDelaySeconds: 0
# timeoutSeconds: 1
# periodSeconds: 5
# failureThreshold: 1000
ingress: ingress:
main: main:
enabled: true enabled: true
ingressClassName: nginx ingressClassName: nginx
annotations: annotations:
# proxy-body-size is set to 0 to remove the body limit on file uploads
nginx.ingress.kubernetes.io/proxy-body-size: "0" nginx.ingress.kubernetes.io/proxy-body-size: "0"
cert-manager.io/cluster-issuer: prod-cluster-issuer cert-manager.io/cluster-issuer: prod-cluster-issuer
hosts: hosts:
@@ -91,16 +72,14 @@ spec:
paths: paths:
- path: "/" - path: "/"
service: service:
# name: sol-auth-svc name: sol-auth-svc
# port: 8002 port: 8002
identifier: main
- host: foto.scoutingmbg.nl - host: foto.scoutingmbg.nl
paths: paths:
- path: "/" - path: "/"
service: service:
# name: sol-auth-svc name: sol-auth-svc
# port: 8002 port: 8002
identifier: main
tls: tls:
- secretName: letsencrypt-prod - secretName: letsencrypt-prod
hosts: hosts:
@@ -109,23 +88,16 @@ spec:
machine-learning: machine-learning:
enabled: true enabled: true
controllers:
main:
containers:
main:
image: image:
repository: ghcr.io/immich-app/immich-machine-learning repository: ghcr.io/immich-app/immich-machine-learning
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
env: env:
TRANSFORMERS_CACHE: /cache TRANSFORMERS_CACHE: /cache
HF_XET_CACHE: /cache/huggingface-xet
MPLCONFIGDIR: /cache/matplotlib-config
persistence: persistence:
cache: cache:
enabled: true enabled: true
size: 10Gi size: 10Gi
type: emptyDir type: emptyDir
accessMode: ReadWriteMany
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
+3 -2
View File
@@ -6,8 +6,8 @@ metadata:
spec: spec:
instances: 1 instances: 1
# Use TensorChord's CNPG-compatible image with pgvecto.rs # Use TensorChord's CNPG-compatible image with pgvecto.rs v0.2.1
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:14-v0.3.0 imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:14-v0.2.1
postgresql: postgresql:
shared_preload_libraries: shared_preload_libraries:
@@ -21,6 +21,7 @@ spec:
- CREATE EXTENSION IF NOT EXISTS vectors; - CREATE EXTENSION IF NOT EXISTS vectors;
- CREATE EXTENSION IF NOT EXISTS cube; - CREATE EXTENSION IF NOT EXISTS cube;
- CREATE EXTENSION IF NOT EXISTS earthdistance CASCADE; - CREATE EXTENSION IF NOT EXISTS earthdistance CASCADE;
- ALTER USER immich WITH SUPERUSER;
storage: storage:
size: 20Gi size: 20Gi