diff --git a/applications/templates/cloudnativepg.yaml b/applications/templates/cloudnativepg.yaml index fc2c710..9756a47 100644 --- a/applications/templates/cloudnativepg.yaml +++ b/applications/templates/cloudnativepg.yaml @@ -42,8 +42,10 @@ apiVersion: postgresql.cnpg.io/v1 kind: Cluster metadata: name: pg-cluster + namespace: cnpg-system spec: instances: 2 + priorityClassName: homelab-critical resources: requests: memory: 128Mi @@ -61,6 +63,8 @@ spec: random_page_cost: "1.1" effective_io_concurrency: "300" work_mem: "1MB" + monitoring: + enablePodMonitor: true storage: size: 50Gi storageClass: local-path