prole/cloudnative-pg-prole-dB.yaml
2025-07-12 18:05:04 -07:00

21 lines
447 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: prole-db
spec:
instances: 3
imageName: prole-db:17.5.001
bootstrap:
initdb:
postInitTemplateSQL:
- CREATE EXTENSION postgis;
- CREATE EXTENSION postgis_topology;
- CREATE EXTENSION fuzzystrmatch;
- CREATE EXTENSION postgis_tiger_geocoder;
storage:
size: 1Gi
walStorage:
size: 1Gi
monitoring:
enablePodMonitor: true