#6060th of 102 in Backends, databases and hosting
cloudnative-pg
Kubernetes operator that runs and manages PostgreSQL primary/standby clusters
- Stars
- 9.6k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Sep 2026
- Language
- Go
8,427 on 21 Apr 20269,578 on 10 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
CloudNativePG is a Go Kubernetes operator that manages the lifecycle of vanilla PostgreSQL clusters: deployment, failover, replica scaling, rolling updates and backups. It talks to the Kubernetes API directly instead of using Patroni, repmgr or Stolon, and exposes cluster status on the Cluster resource. It is a CNCF Sandbox project, originally built and sponsored by EDB.
Who it is for: Platform engineers and DBAs running PostgreSQL on Kubernetes
Strengths
- Uses the Kubernetes API for failover, with no Patroni, repmgr or Stolon
- Rolling updates upgrade replicas first, then switch over the primary
- Custom resources for Backup, ScheduledBackup, Pooler, Database, Publication and Subscription
- Extensible through the CNPG-I plugin interface
Weaknesses
- Kubernetes only; no support for other orchestrators
- PostgreSQL only; no other databases such as MariaDB
- PostgreSQL forks are supported only as extensions or pluggable frameworks
- Targets vanilla upstream Kubernetes; other distributions are not described
What it needs
- no GPU
- Docker
- Needs Kubernetes, PostgreSQL
Quick answers
Is cloudnative-pg open source?
Yes. Its code is on GitHub under the Apache-2.0 license.
Can you run cloudnative-pg with Docker?
Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.
Also in Backends, databases and hosting
See all 102| Rank | Project | Score |
|---|---|---|
| 1 | bunJavaScript and TypeScript runtime with bundler, test runner and package manager | 93 out of 100 |
| 2 | strapiHeadless CMS that generates REST and GraphQL APIs from content models | 92 out of 100 |
| 3 | traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators | 92 out of 100 |
| #4 | appwriteBackend with auth, databases, storage, functions and an MCP server for agents | 92 out of 100 |
| #5 | medusaNode.js commerce platform with modular products, carts, orders and payments | 92 out of 100 |