Reference
Configuration Options¶
Complete reference for CNPG deployment configuration.
config.yaml¶
Located at dp-infra/cnpg/config.yaml:
# CloudNativePG Operator and Barman Plugin Configuration
versions:
operator: "0.26.1" # CloudNativePG Helm chart version
barmanPlugin: "0.2.0" # Barman Cloud Plugin version
helmRepo:
url: "https://cloudnative-pg.github.io/charts"
namespace: "cnpg-system"
operator:
monitoring:
podMonitorEnabled: false # Enable Prometheus PodMonitor
grafanaDashboardsEnabled: false # Create Grafana dashboards
barmanPlugin:
enabled: true # Deploy Barman Cloud Plugin
Version History¶
Current Deployment¶
Chart Version: 0.26.1
Operator Version: 1.27.1
Barman Plugin: 0.2.0
Finding New Versions¶
# Search CloudNativePG charts
helm search repo cloudnative-pg/cloudnative-pg --versions
# Search Barman plugin
helm search repo cloudnative-pg/plugin-barman-cloud --versions
Monitoring Configuration¶
Enable Prometheus Metrics¶
operator:
monitoring:
podMonitorEnabled: true
This creates a PodMonitor resource that Prometheus uses to scrape metrics from CNPG operator.
Enable Grafana Dashboards¶
operator:
monitoring:
grafanaDashboardsEnabled: true
This creates ConfigMaps with Grafana dashboard JSON for PostgreSQL monitoring.