From f71d116a409ce8b7b86c8ad8bc1000574e4d08a1 Mon Sep 17 00:00:00 2001 From: rock Date: Fri, 11 Sep 2026 07:56:21 +0900 Subject: [PATCH] fix(cnpg): scale paperless-db, immich-db, gotify-db to 3 instances MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3 CP nodes available — run one CNPG instance per node for proper HA. 2 instances loses quorum on single node failure. memory-db stays at 2 (acceptable for that workload). --- k8s/apps/gotify/db.yaml | 2 +- k8s/apps/immich/db.yaml | 2 +- k8s/infra/databases/paperless-db.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/k8s/apps/gotify/db.yaml b/k8s/apps/gotify/db.yaml index ef53f6e..c581253 100644 --- a/k8s/apps/gotify/db.yaml +++ b/k8s/apps/gotify/db.yaml @@ -8,7 +8,7 @@ metadata: annotations: argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true spec: - instances: 2 + instances: 3 imageName: ghcr.io/cloudnative-pg/postgresql:16.2 bootstrap: initdb: diff --git a/k8s/apps/immich/db.yaml b/k8s/apps/immich/db.yaml index 16dd484..6ccdfbd 100644 --- a/k8s/apps/immich/db.yaml +++ b/k8s/apps/immich/db.yaml @@ -18,7 +18,7 @@ metadata: annotations: argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true spec: - instances: 2 + instances: 3 imageName: ghcr.io/cloudnative-pg/postgresql:18-minimal-trixie postgresql: extensions: diff --git a/k8s/infra/databases/paperless-db.yaml b/k8s/infra/databases/paperless-db.yaml index 961ecdc..bc616f2 100644 --- a/k8s/infra/databases/paperless-db.yaml +++ b/k8s/infra/databases/paperless-db.yaml @@ -11,7 +11,7 @@ metadata: annotations: argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true spec: - instances: 2 + instances: 3 imageName: ghcr.io/cloudnative-pg/postgresql:16.2 bootstrap: initdb: