Compare commits

..

2 Commits

Author SHA1 Message Date
4a4d918145 feat(backup): Add WAL configuration 2024-12-05 22:21:12 +01:00
cb6717e311 feat(database): Move to local-path 2024-12-05 22:11:27 +01:00

View File

@ -5,11 +5,11 @@ metadata:
namespace: monitoring namespace: monitoring
spec: spec:
instances: 1 instances: 2
storage: storage:
size: 2Gi size: 2Gi
storageClass: redundant-storage-class storageClass: local-path
bootstrap: bootstrap:
initdb: initdb:
@ -22,6 +22,24 @@ spec:
pg_hba: pg_hba:
- host all all all md5 - host all all all md5
backup:
barmanObjectStore:
destinationPath: "s3://halis/cloudnativepg"
endpointURL: https://s3.halia.dev
s3Credentials:
accessKeyId:
name: s3-secret
key: AWS_ACCESS_KEY_ID
secretAccessKey:
name: s3-secret
key: AWS_SECRET_ACCESS_KEY
region:
name: s3-secret
key: AWS_REGION
wal:
compression: gzip
maxParallel: 8
resources: resources:
requests: requests:
cpu: 100m cpu: 100m