# ongres/stackgres

StackGres Operator, Full Stack PostgreSQL on Kubernetes // !! Mirror repository of https://gitlab.com/ongresinc/stackgres, only accept Merge Requests there.

Repository: https://github.com/ongres/stackgres
Canonical: https://ross.abutalabs.com/products/stackgres
Homepage: https://stackgres.io
Language: Java
License: AGPL-3.0
License Family: copyleft
Topics: postgres, postgresql, kubernetes, kubernetes-operator, java, high-availability
Last push: 2026-08-26T18:09:21+00:00

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

## Adoption (not part of the score)
Stars 1427, forks 75 (observed 2026-08-28T04:04:41.975756+00:00)

## What it is
StackGres is a Kubernetes operator that deploys and manages full-stack, production-ready PostgreSQL clusters, bundling Patroni HA, connection pooling, backups, monitoring, and a web console. It is an opinionated, curated PostgreSQL distribution for Kubernetes installable via Helm and managed through CRDs or a web UI.

## Use cases
- run production postgres clusters on kubernetes
- self-hosted postgres-as-a-service on any cloud
- automated failover and high availability for postgresql
- automated postgres backups with point-in-time recovery
- manage postgres clusters via gitops with CRDs
- monitor postgres with prometheus and grafana dashboards
- self-host supabase on kubernetes
- run timescale or citus extensions on postgres

## When to choose
- you run PostgreSQL on Kubernetes and want HA, backups, pooling, and monitoring integrated out of the box
- you want a managed-Postgres-like experience self-hosted without deep Postgres expertise
- you prefer declarative CRDs and GitOps workflows for database lifecycle management
- you need full postgres superuser control unlike some managed offerings

## When to avoid
- your databases run outside Kubernetes or on VMs
- you need a lightweight single Postgres instance without operator overhead
- you want to hand-pick your own HA, backup, and pooling components rather than an opinionated stack
- AGPL-3.0 licensing is incompatible with your usage or distribution model

## Facets
- artifact type: service
- maturity: active
- function: database, caching, monitoring, backup, deployment, self-hosted
- domain: databases, cloud-computing, self-hosted
- platform: cloud, self-hosted
- tags: postgresql, kubernetes-operator, patroni, high-availability, connection-pooling, pitr, gitops, web-console, prometheus, grafana, helm, devops, containers, kubernetes, docker, web-server

## Member repositories
- ongres/stackgres (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:41.975756+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:37:23.134861+00:00, confidence not recorded.
  - readme: https://github.com/ongres/stackgres (fetched 2026-08-28T04:04:41.975756+00:00, sha 3d32576f0433)
  - homepage: https://stackgres.io (fetched 2026-08-29T11:49:12.849625+00:00, sha 824208d65a70)
  - site_page: https://stackgres.io/features (fetched 2026-08-29T11:49:12.858786+00:00, sha 3ec8f320790f)
  - site_page: https://stackgres.io/install (fetched 2026-08-29T11:49:12.861106+00:00, sha c999c13fc7ae)
  - site_page: https://stackgres.io/about (fetched 2026-08-29T11:49:12.864574+00:00, sha 0dff2eeca9e6)
  - site_page: https://stackgres.io/doc/latest (fetched 2026-08-29T11:49:12.862828+00:00, sha 1215bb81029e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
