What problem does it solve?
Provisioning PostgreSQL for Kubernetes apps becomes slow and error-prone when you must coordinate CNPG cluster configuration, per-role credentials, cross-namespace secret replication, and safe connectivity checks.
Core Features & Use Cases
- Choose the right CNPG topology: shared platform cluster for standard workloads and dedicated CNPG clusters when you need custom extensions or isolation.
- Provision databases and roles: define managed roles, create Database CRDs, and generate or replicate the correct credential secrets.
- Enable app access reliably: ensure network policy access labels and register credential replicas in each app’s namespace kustomization.
- Debug connectivity and health: run the structured
scripts/check-connection.sh workflow to quickly identify CNPG health, pooler status, secret replication, and network-policy issues.
Quick Start
Use the cnpg-database skill to add a new database for an application by updating kubernetes/platform/config/database/ (role, secret, Database CRD), then creating the app-namespace credential replica and registering it for kustomization.