cloudnative-pg/cloudnative-pg

Description: CloudNativePG is a comprehensive platform designed to seamlessly manage PostgreSQL databases within Kubernetes environments, covering the entire operational...

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 3 hours ago
Added to GitGenius on June 21st, 2026
Created on March 10th, 2022
Open Issues & Pull Requests: 415 (+0)
Number of forks: 727
Total Stargazers: 9,002 (+0)
Total Subscribers: 31 (+0)

Issue Activity (beta)

Open issues: 210
New in 7 days: 26
Closed in 7 days: 11
Avg open age: 184 days
Stale 30+ days: 67
Stale 90+ days: 7

Recent activity

Opened in 7 days: 24
Closed in 7 days: 11
Comments in 7 days: 15
Events in 7 days: 107

Top labels

  • triage (924)
  • Stale (543)
  • backport failure (382)
  • bug :bug: (357)
  • enhancement :magic_wand: (202)
  • chore (116)
  • documentation :book: (95)
  • E2E tests (80)

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 41.2 hours
90th percentile: 1.9 hours
Tracked items: 2,164

Most active contributors

Detailed Description

CloudNativePG is an open-source Kubernetes operator written in Go that manages PostgreSQL databases within Kubernetes environments across their complete operational lifecycle. The project addresses the challenge of running PostgreSQL in Kubernetes by replacing external high-availability tools like Patroni, repmgr, and Stolon with direct integration into the Kubernetes API, allowing PostgreSQL cluster state to be inspected and managed through native Kubernetes resources.

The operator automates critical database operations that would traditionally require manual intervention from skilled database administrators. When a primary PostgreSQL instance fails, CloudNativePG automatically elects a new primary and orchestrates the transition while updating cluster status. The operator handles scaling of read replicas by provisioning or removing Kubernetes resources such as persistent volumes, secrets, and config maps while managing streaming replication. Rolling updates follow an immutable infrastructure model, updating replica pods before performing a controlled switchover for the primary instance. The operator continuously monitors the PostgreSQL cluster and reconciles its actual state with the desired state, following Kubernetes best practices through the operator pattern.

Beyond core cluster management, CloudNativePG manages additional Kubernetes resources including Backup, ClusterImageCatalog, Database, ImageCatalog, Pooler, Publication, ScheduledBackup, and Subscription resources. The project maintains strict scope boundaries, dedicating itself exclusively to vanilla Kubernetes maintained by the Cloud Native Computing Foundation and vanilla PostgreSQL maintained by the PostgreSQL Global Development Group. It does not support PostgreSQL forks unless they can be integrated as extensions, and it is not a general-purpose database operator supporting other databases like MariaDB. The project can be extended through the CNPG-I plugin interface.

The repository demonstrates active community engagement with a median issue and pull request response latency of 0.0 hours and a mean latency of 41.7 hours across 2135 tracked items. The most active contributors include gbartolini with 2658 events, mnencia with 2174 events, and sxd with 1008 events. The project maintains robust triage processes with 912 triage-labeled items, 532 stale items, and 380 backport failure items tracked as the most active issue labels. The project has established connections with other cloud-native projects including github/gh-aw, solo-io/gloo, and longhorn/longhorn through overlapping contributors.

CloudNativePG's mission centers on increasing PostgreSQL adoption within Kubernetes by making it an integral part of development processes and GitOps-driven CI/CD automation. The project has gained visibility at major industry conferences including multiple presentations at KubeCon Europe and KubeCon North America, covering topics ranging from disaster recovery with large PostgreSQL databases to data sovereignty and modern authorization patterns. The project maintains public documentation including a quickstart guide, roadmap, FAQ, and an adopters list, with commercial support available through its official website at cloudnative-pg.io.

cloudnative-pg
by
cloudnative-pgcloudnative-pg/cloudnative-pg

Repository Details

Fetching additional details & charts...