© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•9mo ago•
25 replies
ebass42

CNPG DB Migration for 1.133.0

I was wondering if there is some insight on how to the DB migration for Kubernetes deployments using CNPG

Any guidance?

This is my Current config:

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: immich-postgres
spec:
# At the time of writing, immich is only compatible with pgvecto.rs <0.4. Latest postgres image with that version is 16.5.
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:16.5-v0.3.0@sha256:be3f025d79aa1b747817f478e07e71be43236e14d00d8a9eb3914146245035ba
instances: 1

postgresql:
shared_preload_libraries:
- "vectors.so"

managed:
roles:
- name: immich
superuser: true
login: true

resources:
requests:
memory: 256Mi
cpu: 100m
limits:
memory: 512Mi
cpu: 400m

bootstrap:
initdb:
database: immich
owner: immich
postInitSQL:
- CREATE EXTENSION IF NOT EXISTS "vectors";
- CREATE EXTENSION IF NOT EXISTS "cube" CASCADE;
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;

storage:
size: 4Gi

monitoring:
enablePodMonitor: true
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

v.1.133.0 DB Migration
ImmichIImmich / help-desk-support
9mo ago
DB restarting after try updating to 1.133.0
ImmichIImmich / help-desk-support
9mo ago
1.133.0 update help
ImmichIImmich / help-desk-support
9mo ago
Corrupted migration after upgrading to 1.133.1
ImmichIImmich / help-desk-support
9mo ago