# reactive-tech/kubegres

Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.

Repository: https://github.com/reactive-tech/kubegres
Canonical: https://ross.abutalabs.com/products/kubegres
Homepage: https://www.kubegres.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: postgresql, postgres, kubernetes, operator, kubernetes-operator, postgres-operator
Last push: 2025-01-04T14:29:28+00:00

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

## Adoption (not part of the score)
Stars 1350, forks 78 (observed 2026-08-28T04:04:28.126506+00:00)

## What it is
Kubegres is a Kubernetes operator written in Go that deploys and manages clusters of PostgreSQL instances with streaming replication, automatic failover, and scheduled backups. It provides a simple custom resource (kind: Kubegres) built on Kubebuilder, keeping a minimal codebase compared to other Postgres operators.

## Use cases
- deploy a postgres cluster on kubernetes
- set up postgres streaming replication with primary and replicas
- automatic failover when primary postgres pod crashes
- schedule regular postgres data backups to a volume
- manage many self-contained postgres clusters via simple YAML
- run postgres in production on kubernetes without custom docker images

## When to choose
- you want a minimalist, easy-to-understand Postgres operator for Kubernetes
- you need out-of-the-box streaming replication and failover
- you want to use official Postgres Docker images without custom images
- you need to run one or many small-to-medium Postgres clusters in production

## When to avoid
- you need advanced features like point-in-time recovery, connection pooling, or horizontal scaling beyond streaming replicas
- you are not running on Kubernetes
- you need a highly feature-rich operator with extensive ecosystem support
- you require managed database services rather than self-managed clusters

## Facets
- artifact type: service
- maturity: active
- function: database, deployment, backup, configuration-management
- domain: databases, self-hosted
- platform: go, self-hosted, cloud
- tags: postgres-operator, kubernetes-operator, streaming-replication, failover, postgresql, kubebuilder, statefulset, devops, containers, kubernetes, docker

## Member repositories
- reactive-tech/kubegres (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:28.126506+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-30T04:42:18.641218+00:00, confidence not recorded.
  - readme: https://github.com/reactive-tech/kubegres (fetched 2026-08-28T04:04:28.126506+00:00, sha 3299f60daac7)
  - homepage: https://www.kubegres.io (fetched 2026-08-29T12:01:13.598830+00:00, sha 9f4450116cb3)
  - site_page: https://www.kubegres.io/doc/getting-started.html (fetched 2026-08-29T12:01:13.609906+00:00, sha 2e9f82b8dd3e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
