Files
ab-initio-manifests/rendered/manifests/k3s-dev/abinitio-db/controlcenter-db/postgresql.cnpg.io_v1_cluster_controlcenter.yaml
2026-03-07 15:00:05 +00:00

38 lines
731 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: controlcenter
namespace: abinitio-db
spec:
bootstrap:
initdb:
database: controlcenter
owner: cc_jdbc
postInitApplicationSQLRefs:
configMapRefs:
- key: controlcenter.sql
name: controlcenter-sql
secret:
name: cc-jdbc
imageName: ghcr.io/cloudnative-pg/postgresql:16
instances: 2
managed:
roles:
- login: true
name: cc_jdbc
passwordSecret:
name: cc-jdbc
postgresql:
parameters:
effective_cache_size: 4GB
shared_buffers: 2GB
resources:
limits:
cpu: 2
memory: 8Gi
requests:
cpu: 1
memory: 4Gi
storage:
size: 30Gi