# CrunchyData/postgres-operator

Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service.

Repository: https://github.com/CrunchyData/postgres-operator
Canonical: https://ross.abutalabs.com/products/postgres-operator
Homepage: https://access.crunchydata.com/documentation/postgres-operator/v5/
Language: Go
License: Apache-2.0
License Family: permissive
Topics: postgresql, kubernetes, operator, postgres, postgres-operator, high-availability, database, database-management, postgresql-clusters, disaster-recovery, postgresql-monitoring, postgresql-metrics, database-as-a-service, data-infrastructure, kubernetes-operator, pgo
Last push: 2026-08-26T00:05:25+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 3474, "days_push": 8, "days_rel": 92, "gap_med": 2, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4442, forks 677 (observed 2026-08-28T04:08:50.332881+00:00)

## What it is
PGO is the Crunchy Data Postgres Operator, a Kubernetes operator that declaratively manages production PostgreSQL clusters. It automates high availability, disaster recovery, backups, monitoring, and rolling updates for Postgres on Kubernetes.

## Use cases
- run production postgres on kubernetes
- manage highly available postgresql clusters declaratively
- automate postgres backups and disaster recovery
- set up postgres database-as-a-service on k8s
- clone postgres clusters for staging environments
- roll out postgres upgrades with minimal downtime
- monitor postgresql clusters with metrics

## When to choose
- you run PostgreSQL on Kubernetes and want GitOps-style declarative cluster management
- you need built-in high availability, failover, and disaster recovery for Postgres
- you want automated backups, monitoring, and rolling updates without hand-rolled scripts
- you are building a database-as-a-service offering on Kubernetes

## When to avoid
- your databases run on VMs or bare metal outside Kubernetes
- you use a different database engine than PostgreSQL
- you need a fully managed hosted database rather than self-operated clusters
- you cannot adopt Kubernetes operators or CRDs in your environment

## Facets
- artifact type: service
- maturity: stable
- function: database, deployment, monitoring, backup, configuration-management
- domain: databases, self-hosted, cloud-computing
- platform: go, cloud, self-hosted
- tags: postgres-operator, pgo, high-availability, disaster-recovery, gitops, database-as-a-service, kubernetes-operator, postgresql-clusters, devops, containers, kubernetes, docker

## Member repositories
- CrunchyData/postgres-operator (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:50.332881+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:49.239964+00:00, confidence not recorded.
  - readme: https://github.com/CrunchyData/postgres-operator (fetched 2026-08-28T04:08:50.332881+00:00, sha 44a83f5a816f)
  - homepage: https://access.crunchydata.com/documentation/postgres-operator/v5/ (fetched 2026-08-29T09:08:10.340375+00:00, sha 5bd6b3a3713c)
  - site_page: https://access.crunchydata.com/documentation/postgres-operator/v5/quickstart (fetched 2026-08-29T09:08:10.352396+00:00, sha c04b0162ae42)
  - site_page: https://access.crunchydata.com/documentation/postgres-operator/v5/tutorial (fetched 2026-08-29T09:08:10.354104+00:00, sha 73a8cbd51c33)
  - site_page: https://access.crunchydata.com/documentation/postgres-operator/v5/tutorial/getting-started (fetched 2026-08-29T09:08:10.355615+00:00, sha 9a0f6bbd0b86)
  - site_page: https://access.crunchydata.com/documentation/postgres-operator/v5/tutorial/create-cluster (fetched 2026-08-29T09:08:10.357100+00:00, sha da6d05e4876e)
  - site_page: https://access.crunchydata.com/documentation/postgres-operator/v5/tutorial/connect-cluster (fetched 2026-08-29T09:08:10.358757+00:00, sha 47eb1a18717f)
  - site_page: https://access.crunchydata.com/documentation/postgres-operator/v5/tutorial/high-availability (fetched 2026-08-29T09:08:10.360512+00:00, sha 7f0897baa7fc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
