Skip to content

Postgres Cluster on CloudNative PG

CouldNative PG is a opensourced operator from Enterprise DB one of the main contributers of PostgreSQL.

Base Setup

Helm Chart

Backup

Similar as Zalando

Reload

To force restart/reload of secrets and configmaps in already created cluster, the two either require the label cnpg.io/reload or must be reloaded manually.

example with external secret
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: cnpg-minio-access
spec:
  refreshInterval: 1m
  secretStoreRef:
    name: vault-backend
    kind: ClusterSecretStore
  target:
    name: cnpg-minio-access
    template:
      metadata:
        labels:
          "cnpg.io/reload": "true"
  data:
kubectl cnpg reload

Monitoring