Files
juwan-backend/deploy/k8s/postgreSql.yaml
T
2026-02-23 15:54:33 +08:00

23 lines
540 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
namespace: juwan
name: cluster-example
spec:
instances: 3
backup:
barmanObjectStore:
destinationPath: s3://juwan-dev-pg-backups-zj/pg-data/
endpointURL: https://cn-nb1.rains3.com
s3Credentials:
accessKeyId:
name: rc-creds
key: SOucqRaJr4OyfcIu
secretAccessKey:
name: rc-creds
key: tn2Agj9EowMwuPA9y7TdSL0AXKsMEz
wal:
compression: gzip
storage:
size: 1Gi