switchover
This commit is contained in:
@@ -27,27 +27,27 @@ immich:
|
|||||||
- name: DB_HOSTNAME
|
- name: DB_HOSTNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: immich-postgresql-17-cluster-app
|
name: immich-postgresql-18-cluster-app
|
||||||
key: host
|
key: host
|
||||||
- name: DB_DATABASE_NAME
|
- name: DB_DATABASE_NAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: immich-postgresql-17-cluster-app
|
name: immich-postgresql-18-cluster-app
|
||||||
key: dbname
|
key: dbname
|
||||||
- name: DB_PORT
|
- name: DB_PORT
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: immich-postgresql-17-cluster-app
|
name: immich-postgresql-18-cluster-app
|
||||||
key: port
|
key: port
|
||||||
- name: DB_USERNAME
|
- name: DB_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: immich-postgresql-17-cluster-app
|
name: immich-postgresql-18-cluster-app
|
||||||
key: user
|
key: user
|
||||||
- name: DB_PASSWORD
|
- name: DB_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: immich-postgresql-17-cluster-app
|
name: immich-postgresql-18-cluster-app
|
||||||
key: password
|
key: password
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
@@ -284,30 +284,12 @@ postgres-18-cluster:
|
|||||||
- CREATE EXTENSION IF NOT EXISTS "cube" CASCADE;
|
- CREATE EXTENSION IF NOT EXISTS "cube" CASCADE;
|
||||||
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
|
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
|
||||||
recovery:
|
recovery:
|
||||||
method: import
|
method: objectStore
|
||||||
objectStore:
|
objectStore:
|
||||||
destinationPath: s3://postgres-backups/cl01tl/immich/immich-postgresql-18-cluster
|
destinationPath: s3://postgres-backups/cl01tl/immich/immich-postgresql-18-cluster
|
||||||
endpointURL: http://garage-main.garage:3900
|
endpointURL: http://garage-main.garage:3900
|
||||||
index: 1
|
index: 1
|
||||||
endpointCredentials: immich-postgresql-18-cluster-backup-secret-garage
|
endpointCredentials: immich-postgresql-18-cluster-backup-secret-garage
|
||||||
import:
|
|
||||||
type: "microservice"
|
|
||||||
databases:
|
|
||||||
- app
|
|
||||||
source:
|
|
||||||
host: "immich-postgresql-17-cluster-rw"
|
|
||||||
port: 5432
|
|
||||||
username: app
|
|
||||||
database: app
|
|
||||||
sslMode: "disable"
|
|
||||||
passwordSecret:
|
|
||||||
name: "immich-postgresql-17-cluster-app"
|
|
||||||
key: "password"
|
|
||||||
postImportApplicationSQL:
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "vector";
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE;
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "cube" CASCADE;
|
|
||||||
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
|
|
||||||
backup:
|
backup:
|
||||||
objectStore:
|
objectStore:
|
||||||
- name: external
|
- name: external
|
||||||
|
|||||||
Reference in New Issue
Block a user