|
| 1 | +--- |
| 2 | +title: "CloudNativePG in 2025: CNCF Sandbox, PostgreSQL 18, and a new era for extensions" |
| 3 | +date: 2025-12-31T22:50:58+11:00 |
| 4 | +description: "A year of architectural breakthroughs and community growth that saw CloudNativePG join the CNCF sandbox, revolutionise extension management for PostgreSQL 18, and surpass 132 million downloads while maintaining its uncompromising commitment to database resilience." |
| 5 | +tags: ["postgresql", "postgres", "kubernetes", "k8s", "cloudnativepg", "cnpg", "postgresql", "postgres", "dok", "data on kubernetes", "cncf", "devops", "gitops"] |
| 6 | +cover: cover.jpg |
| 7 | +thumb: thumb.jpg |
| 8 | +draft: false |
| 9 | +--- |
| 10 | + |
| 11 | +_2025 marked a historic turning point for CloudNativePG, headlined by its |
| 12 | +acceptance into the CNCF sandbox and a subsequent application for incubation. |
| 13 | +Throughout the year, the project transitioned from a high-performance operator |
| 14 | +to a strategic architectural partner within the cloud-native ecosystem, |
| 15 | +collaborating with projects like Cilium and Keycloak. Key milestones included |
| 16 | +the co-development of the `extension_control_path` feature for PostgreSQL |
| 17 | +18, revolutionising extension management via OCI images, and the General |
| 18 | +Availability of the Barman Cloud Plugin. With nearly 880 commits (marking five |
| 19 | +consecutive years of high-velocity development) and over 132 million downloads, |
| 20 | +CloudNativePG has solidified its position as the standard for declarative, |
| 21 | +resilient, and sovereign PostgreSQL on Kubernetes._ |
| 22 | + |
| 23 | +<!--more--> |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +As 2025 comes to a close, it is time to look back at what has been the most |
| 28 | +transformative year for **CloudNativePG** since its inception. If 2024 was |
| 29 | +about maturity and the introduction of the plugin interface (CNPG-I), 2025 has |
| 30 | +been about community integration, architectural breakthroughs, and setting the |
| 31 | +stage for the future of PostgreSQL on Kubernetes. |
| 32 | + |
| 33 | +From joining the CNCF sandbox to co-authoring features for PostgreSQL 18, the |
| 34 | +project has evolved from a powerful operator into a cornerstone of the |
| 35 | +cloud-native ecosystem. |
| 36 | + |
| 37 | +## The climb through the CNCF landscape |
| 38 | + |
| 39 | +We started the year with a historic achievement. On **15 January 2025**, |
| 40 | +CloudNativePG was officially [accepted into the **CNCF Sandbox**](https://github.com/cncf/sandbox/issues/128). |
| 41 | +This was a pivotal moment for our community, reinforcing our commitment to |
| 42 | +vendor neutrality and open governance. |
| 43 | + |
| 44 | +It is important to note that CloudNativePG is the only PostgreSQL operator |
| 45 | +project for Kubernetes that is community-owned and governed under a |
| 46 | +transparent, vendor-neutral model. |
| 47 | +Unlike other operators that are controlled by single companies, our transition |
| 48 | +into the CNCF ensures that the project remains a public good, where the roadmap |
| 49 | +is shaped by users and contributors across the entire industry. |
| 50 | + |
| 51 | +Being part of the sandbox has been highly **strategic**, allowing us to |
| 52 | +collaborate deeply with other CNCF projects to solve complex architectural |
| 53 | +challenges. In 2025, we focused on three key integrations: |
| 54 | + |
| 55 | +- [**Cilium**](https://cloudnative-pg.io/docs/1.28/cncf-projects/cilium): |
| 56 | + Enhancing pod-to-pod security and network policies tailored for database |
| 57 | + traffic. |
| 58 | + |
| 59 | +- [**External Secrets Operator (ESO)**](https://cloudnative-pg.io/docs/1.28/cncf-projects/external-secrets): |
| 60 | + Standardising how database credentials and certificates are injected and |
| 61 | + rotated. |
| 62 | + |
| 63 | +- [**Keycloak**](https://github.com/keycloak/keycloak/issues/43258): |
| 64 | + Bridging the gap between database security and modern identity management. |
| 65 | + |
| 66 | +Given this rapid growth, we officially [**applied for CNCF incubation**](https://github.com/cncf/toc/issues/1961) |
| 67 | +**on 12 November 2025**. Moving toward the incubating tier reflects our status |
| 68 | +as a stable, production-ready technology used by organisations worldwide. |
| 69 | + |
| 70 | +## Uncompromising robustness and high availability |
| 71 | + |
| 72 | +A database operator's primary job is to protect data. In 2025, we addressed |
| 73 | +complex edge cases involving network partitions and potential "split-brain" |
| 74 | +scenarios. |
| 75 | + |
| 76 | +We [responded to community concerns](https://github.com/cloudnative-pg/cloudnative-pg/discussions/7462) |
| 77 | +regarding rare failure modes in environments without synchronous replication by |
| 78 | +significantly hardening our HA logic: |
| 79 | + |
| 80 | +- [**Primary isolation check**](https://cloudnative-pg.io/docs/1.28/instance_manager#primary-isolation): |
| 81 | + We introduced a mechanism where a primary node can self-fence if it loses |
| 82 | + connectivity with the rest of the cluster, preventing it from accepting writes |
| 83 | + while a new primary is being elected. |
| 84 | +- [**Failover quorum with synchronous replication**](https://cloudnative-pg.io/docs/1.28/failover/#failover-quorum-quorum-based-failover): |
| 85 | + We promoted to stable a quorum-based mechanism that ensures failover only |
| 86 | + occurs when a majority of nodes agree, providing much higher consistency |
| 87 | + guarantees. |
| 88 | +- [**Improved probe infrastructure**](https://cloudnative-pg.io/docs/1.28/instance_manager): |
| 89 | + We overhauled the startup, readiness, and liveness probes to be more granular. |
| 90 | + This ensures that a node is only considered "ready" when it is truly capable |
| 91 | + of serving traffic safely, reducing the risk of routing errors during volatile |
| 92 | + network conditions. |
| 93 | + |
| 94 | +## Revolutionising extensions: PostgreSQL 18 and extension control path |
| 95 | + |
| 96 | +We also actively participated in the development of a new feature for |
| 97 | +**PostgreSQL 18** called `extension_control_path`. This feature allows us to |
| 98 | +move away from monolithic custom images: |
| 99 | + |
| 100 | +- **The [`postgres-extensions-containers` project](https://github.com/cloudnative-pg/postgres-extensions-containers):** |
| 101 | + We now build independent, self-contained OCI images for individual |
| 102 | + extensions. |
| 103 | +- [**Dynamic loading**](https://cloudnative-pg.io/docs/1.28/imagevolume_extensions): |
| 104 | + Using the [Kubernetes `VolumeSource` feature](https://github.com/kubernetes/enhancements/issues/4639), |
| 105 | + CloudNativePG can now dynamically mount these extension images at runtime. |
| 106 | +- **Minimal base images:** We’ve moved away from DockerHub to our own |
| 107 | + [`minimal` PostgreSQL images](https://github.com/cloudnative-pg/postgres-containers) |
| 108 | + based on Debian, featuring full **SBOMs**, attestation of provenance, and |
| 109 | + signing. |
| 110 | + |
| 111 | +## Key releases and GA milestones |
| 112 | + |
| 113 | +- [**v1.26 (23 May)**](https://cloudnative-pg.io/releases/cloudnative-pg-1-26.0-released/): |
| 114 | + Focused on declarative power, this release introduced **offline in-place major |
| 115 | + upgrades** and expanded **declarative database management** to include schemas |
| 116 | + and extensions directly in the manifest. |
| 117 | +- [**v1.27 (12 August)**](https://cloudnative-pg.io/releases/cloudnative-pg-1-27.0-released/): |
| 118 | + Introduced **logical decoding slot synchronisation**, essential for HA in CDC |
| 119 | + workloads. |
| 120 | +- [**v1.28 (9 December)**](https://cloudnative-pg.io/releases/cloudnative-pg-1-28.0-released/): |
| 121 | + Promoted **quorum-based failover** to stable and introduced **declarative |
| 122 | + foreign data wrapper (FDW)** support. |
| 123 | + |
| 124 | +We also celebrated the **General Availability (GA) of the [Barman Cloud Plugin](https://github.com/cloudnative-pg/plugin-barman-cloud)**, |
| 125 | +standardising backups via the CNPG-I interface. |
| 126 | + |
| 127 | +## Community and knowledge sharing |
| 128 | + |
| 129 | +Our presence at major conferences highlighted the intersection of the |
| 130 | +Kubernetes and PostgreSQL communities, including the **first-ever Kubernetes |
| 131 | +Summit** at a Postgres conference (**PGConf.eu in Riga**). |
| 132 | + |
| 133 | +Our [**three LFX mentorship projects**](https://github.com/cloudnative-pg/cloudnative-pg/blob/main/contribute/lfx-mentorship-program.md) |
| 134 | +also delivered key features like declarative FDW support, a |
| 135 | +[chaos testing](https://github.com/cloudnative-pg/chaos-testing) |
| 136 | +framework, and a [multi-version documentation framework](https://github.com/cloudnative-pg/docs). |
| 137 | + |
| 138 | +### KubeCon highlights |
| 139 | + |
| 140 | +- **London:** [Consistent volume group snapshots](https://sched.co/1tx8g). |
| 141 | +- **Atlanta:** [Running Postgres the Kubernetes way](https://www.youtube.com/watch?v=pYwYwehQX3U&t=4s), |
| 142 | + [PostgreSQL authorisation with Keycloak](https://www.youtube.com/watch?v=TYgPemq06fg), |
| 143 | + and [Quorum-based consistency](https://www.youtube.com/watch?v=iQUOO3-JRK4). |
| 144 | + |
| 145 | +## 2025 by the numbers |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | +The growth of the project this year has been staggering. We began 2025 with |
| 150 | +4,900 GitHub stars and ended the year with over **7,700**, a testament to the |
| 151 | +expanding community of users and contributors. Most notably, the global |
| 152 | +adoption of the operator has reached a new peak, with the total number of |
| 153 | +downloads for the operator image now exceeding **132 million**. |
| 154 | + |
| 155 | +Furthermore, our development velocity remains remarkably consistent: 2025 saw |
| 156 | +nearly **880 commits**, marking the **fifth year in a row** that the main |
| 157 | +CloudNativePG operator project has exceeded 800 commits per year. This |
| 158 | +sustained pace underscores the health and long-term commitment behind the |
| 159 | +project. |
| 160 | + |
| 161 | +## Final reflections |
| 162 | + |
| 163 | +2025 was the year CloudNativePG matured from a high-performance operator into a |
| 164 | +cornerstone of the CNCF ecosystem. By tackling the toughest problems in HA and |
| 165 | +influencing the core of PostgreSQL 18, we are ensuring that Postgres remains |
| 166 | +the most reliable database for the cloud-native era. |
| 167 | + |
| 168 | +However, the journey doesn't end here. We still have a long road ahead of us to |
| 169 | +reach our full potential. As I often say, citing one of my favourite AC/DC |
| 170 | +tracks: [**"It's a long way to the top (if you wanna rock 'n' roll)."**](https://www.youtube.com/watch?v=g-qkY2yj4_A) |
| 171 | +We are ready for the climb. |
| 172 | + |
| 173 | +Thank you to every contributor and user who made this year possible. See you in |
| 174 | +2026! |
| 175 | + |
| 176 | +--- |
| 177 | + |
| 178 | +Stay tuned for the upcoming recipes! For the latest updates, consider |
| 179 | +subscribing to my [LinkedIn](https://www.linkedin.com/in/gbartolini/) and |
| 180 | +[Twitter](https://twitter.com/_GBartolini_) channels. |
| 181 | + |
| 182 | +If you found this article informative, feel free to share it within your |
| 183 | +network on social media using the provided links below. Your support is |
| 184 | +immensely appreciated! |
| 185 | + |
| 186 | +<!-- |
| 187 | +_Cover Picture: [“TITLE“](URL)._ |
| 188 | +--> |
| 189 | + |
0 commit comments