2023-07-29 14:13:54 +00:00
|
|
|
apiVersion: postgresql.cnpg.io/v1
|
|
|
|
kind: Cluster
|
|
|
|
metadata:
|
|
|
|
name: synapse-db
|
|
|
|
namespace: synapse
|
|
|
|
|
|
|
|
spec:
|
2024-01-19 23:36:19 +00:00
|
|
|
instances: 3
|
2023-07-29 14:13:54 +00:00
|
|
|
|
|
|
|
storage:
|
|
|
|
size: 5Gi
|
2024-01-19 23:36:19 +00:00
|
|
|
storageClass: redundant-storage-class
|
2023-07-29 14:13:54 +00:00
|
|
|
|
|
|
|
bootstrap:
|
|
|
|
initdb:
|
|
|
|
database: synapse
|
|
|
|
owner: synapse
|
|
|
|
secret:
|
|
|
|
name: synapse-db
|
|
|
|
|
|
|
|
postgresql:
|
|
|
|
pg_hba:
|
|
|
|
- host all all all md5
|
|
|
|
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 100Mi
|
|
|
|
limits:
|
|
|
|
cpu: 500m
|
|
|
|
memory: 500Mi
|