CloudNativePG is a Kubernetes operator designed for the administration, lifecycle management, and high availability of PostgreSQL database clusters. It functions as a declarative orchestrator that manages database instances through custom resources and manifests.
The project distinguishes itself by automating complex operational tasks, including primary election and failover management via streaming physical replication. It provides specialized tools for database version migrations, supporting both offline in-place upgrades and online migrations through logical replication.
The operator covers a broad range of capabilities including continuous physical backups to object storage with point-in-time recovery, dynamic cluster scaling, and persistent storage orchestration. It also handles traffic management by routing read-write and read-only requests to different endpoints and provides observability through performance metrics export and cluster health monitoring.
Security is integrated through network traffic encryption and support for client certificate authentication.