Should you run PostgreSQL through CloudNativePG?
CloudNativePG fits teams that want PostgreSQL managed through Kubernetes and can take responsibility for the infrastructure beneath it. The decision depends on whether your team can validate storage failures, primary isolation and recovery, as well as deploy the operator.
The project's README describes direct integration with the Kubernetes API rather than an external high-availability coordinator such as Patroni. Cluster status is available on the Cluster resource. Documented operations include promoting a replacement primary, scaling replicas, updating service endpoints and rolling image updates through replicas before a primary switchover. These are upstream capability descriptions, not operations demonstrated by our run.
The stated scope is Kubernetes and vanilla PostgreSQL. Other database engines are excluded. PostgreSQL-fork features are considered only when they fit extensions or pluggable frameworks.
What our recorded run establishes
Our stored run took place on 2026-10-03 at commit 887bffe481a37c198a2f7c6cb9023b415faad515, whose recorded commit date is 2026-10-02. The configured sandbox had 3 CPUs, 8 GB of memory and the image golang:1.24-bookworm. That image label does not establish the toolchain actually used: the setup tail records a download of Go 1.27.1.
| Step | Recorded result | Evidence limit |
|---|---|---|
| Setup | Exit 0, 34 seconds | Retained output shows a Go toolchain download; no operator or plugin installation check |
| Build | Harness success, exit 0, 199 seconds | Retained output is only vet-exit:0; no executable artifact check |
| Tests | Exit 1, 153 seconds | Parser reports 145 successful and 2 failed package results; failing assertions are absent from the tail |
The parser also recorded 54 packages with no test files. Those packages are not failed or skipped tests. The 147 total is the recorded successful-plus-failed package summary, not a count of individual tests. Unique and exhaustive coverage was not verified through complete-log reconciliation.
The repository metrics were 1,855 files, about 220,709 lines of source and 62 MB, with 21 CI workflows, a Dockerfile and a tests directory. The dependency metric was 236, with no recorded download size. These inventory figures do not establish installation or runtime correctness.
The retained test tail ends with FAIL but does not identify the failing packages or assertions. We cannot diagnose the cause from that excerpt. The failed command prevents a clean test-run claim for this sandbox; it does not establish that CloudNativePG is broken. No Kubernetes deployment, installed-binary check, database workload, failover or restore was recorded. No security audit result was supplied.
A local trial and a production deployment answer different questions
The supplied development quickstart uses Kind or Minikube, requires kubectl, and applies a three-instance Cluster using the default storage class. It explicitly prohibits using those instructions as a production recipe. Use it to learn the resource model before designing a deployment around your actual storage and recovery requirements.
The installation documentation covers manifests, the cnpg plugin, Helm and Operator Lifecycle Manager. It warns that GKE firewall rules can block the webhook on port 9443. These are deployment considerations that our source-check run did not test.
Under the default upgrade behavior, updating the controller triggers an instance-manager rolling update. The default unsupervised policy completes the final switchover automatically; supervised requires manual promotion. Applications must reconnect. A single-instance cluster restarts and does not support the supervised strategy. The documentation also describes optional in-place instance-manager updates, disabled by default, so a rolling restart is not the only supported upgrade path.
Use specific PostgreSQL image versions or digests. The quickstart warns against broad tags such as latest or a bare major version in production. Read the release notes matching your deployed version before an upgrade.
Plan the backup migration against the current documentation
The supplied development backup documentation says native Barman Cloud support was deprecated from 1.26, remains available through the 1.31 release line, and is removed starting with 1.32.0. It directs users toward the Barman Cloud Plugin through CNPG-I. The historical v1.30.0 release notes announced removal in 1.31.0; that earlier schedule differs from the supplied development documentation. Plan migrations against documentation for the version you intend to deploy.
CloudNativePG's backup documentation covers physical backups. It excludes logical pg_dump backups from its managed business-continuity workflow. Object-store backups require WAL archiving and support hot backups. Native volume snapshots depend on the storage class, support hot and cold backups, and do not provide native retention policies. Incremental and differential snapshot capabilities depend on the underlying storage.
The docs recommend WAL archiving in production. A WAL archive alone cannot restore a cluster: recovery also needs a physical base backup. Backup requests do not include PostgreSQL superuser or application-user Kubernetes secrets, so include those in the broader cluster backup plan. Our run measured neither backup completion nor recovery time.
Two alternatives to compare
Zalando Postgres Operator documents a Patroni-based approach configured through Postgres manifests. Compare it when Patroni is part of the operating model your team wants to maintain.
Crunchy Postgres for Kubernetes integrates PGO with PostgreSQL and related tools. Its README describes pgBackRest full, incremental and differential backups. Compare it when that recovery model fits your requirements, and review the image distribution terms attached to its default installation path.
Neither alternative was executed in our recorded run. These are documented differences to investigate, not performance rankings.
How to read the scores
Scores use a five-point editorial rubric: 1 means substantial obstacles or insufficient evidence for the category; 2 means limited support with important gaps; 3 means a documented basis for evaluation with material work or unknowns; 4 means broad supporting evidence with bounded gaps; 5 requires comprehensive evidence for the intended use. These are judgments about the supplied evidence, not measured reliability or adoption scores. Missing evidence limits confidence rather than proving poor product quality.
Setup receives 3/5 because deployment paths are documented but require Kubernetes and storage preparation, and our run did not verify deployment. Documentation receives 4/5 for concrete setup, upgrade and recovery guidance, with a backup-removal schedule that must be read in version context. Community receives 3/5 because the README documents open meetings and contribution resources, while response times and adoption were not measured. Maturity receives 3/5 because lifecycle and recovery workflows are documented but production behavior was not validated by our run.
For a useful next step, deploy the local quickstart, then build a separate evaluation on your intended infrastructure. Record application reconnection behavior, primary isolation and a full restore before making a production decision.

