fix(db): Align recovery manifest with database

This commit is contained in:
Tanguy Herbron 2025-04-29 19:17:53 +02:00
parent 62b3591144
commit b29bb0b3f5
2 changed files with 16 additions and 3 deletions

View File

@ -5,16 +5,17 @@ metadata:
namespace: mastodon
spec:
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:16.5-v0.3.0
imageName: ghcr.io/cloudnative-pg/postgresql:17.4
instances: 1
storage:
size: 1Gi
size: 2Gi
storageClass: local-path
bootstrap:
recovery:
source: mastodon-db
backup:
name: mastodon-db-20250429184645
postgresql:
pg_hba:
@ -47,3 +48,14 @@ spec:
limits:
cpu: 500m
memory: 1Gi
monitoring:
enablePodMonitor: true
topologySpreadConstraints:
- maxSkew: 1
topologyKey: zone
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
cnpg.io/cluster: mastodon-db

View File

@ -5,6 +5,7 @@ metadata:
namespace: mastodon
spec:
imageName: ghcr.io/cloudnative-pg/postgresql:17.4
instances: 3
storage: