# StackGres Operator

StackGres Operator is a Kubernetes operator for StackGres that deploys and manages a full-stack PostgreSQL distribution with connection pooling, high availability, monitoring, backup, and disaster recovery for. It is open source and self-hosted, installable on Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/4768/stackgres-operator

## Description

StackGres Operator is a Kubernetes operator for StackGres that deploys and manages a full-stack PostgreSQL distribution with connection pooling, high availability, monitoring, backup, and disaster recovery for production Kubernetes deployments.

## Platform availability

Available on 1 of 10 platforms: Helm.

## Health score

60/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 14 days ago)
- Popular: 63 (1,444 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 10 (3 serious findings, 8 minor, CI, tests)

## Security check

3 serious findings: A private key is committed in the source code; A private key is committed in the source code; A private key is committed in the source code.
Automated checks on commit 894466c, 25 Oct 2026. Not an audit.

## Links

- GitHub: https://github.com/ongres/stackgres
- Official website: https://stackgres.io
- Kubernetes (Helm): https://artifacthub.io/packages/helm/stackgres-charts/stackgres-operator

## Common questions

### Did a user encounter connection limits after moving an existing Postgres pod to Stackgres Operator HA?

Yes. After installing the Stackgres Operator to move an existing Postgres pod to a proper cluster with HA, the main Postgres pod started blocking app connections because the remaining connection slots were exhausted.

### Can Stackgres Operator be used as a PostgreSQL operator in a test lab?

A user considered Stackgres as a PostgreSQL operator for a test lab, while noting that it had much less community mention than other operators.

### Can Stackgres Operator create Postgres roles and databases using CRDs?

The provided thread only asks whether a Kubernetes operator can create Postgres roles and databases with CRDs. It does not state that Stackgres Operator supports this.

### Do the provided community sources give production deployment guidance for Stackgres Operator?

No. A thread about implementing PostgreSQL on Kubernetes for production asks for implementation guides and mentions operators such as Zalando, but it does not provide Stackgres Operator guidance.

## Alternatives

- Dockhand: Dockhand is a self-hosted, web-based Docker management platform that gives you a single dashboard to deploy containers, manage stacks, trac…
- Heroku: Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.
- OpenShift: Red Hat OpenShift is a trusted, comprehensive, and consistent platform to develop, modernize, and deploy applications at scale, including t…
- Portainer: Portainer is a lightweight, open-source container management UI for Docker, Swarm, Podman, and Kubernetes environments.
- PostgreSQL: PostgreSQL (Postgres) is an open source object-relational database known for reliability and data integrity.
- Rancher: A container management platform built for organizations that deploy containers in production.

---
Source: Our Local Host (https://ourlocalhost.com/app/4768/stackgres-operator), the self-hosted and open-source app directory.
