zalando/postgres-operator(opens in a new tab)
Language: Go
Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
- stars
- 5,267
- watchers
- 58
- forks
- 1,077
- open issues
- 556
- Last updated
- 10/30/2026
Language: Go
Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
The Postgres Operator delivers an easy to run highly-available PostgreSQL clusters on Kubernetes (K8s) powered by Patroni. It is configured only through Postgres manifests (CRDs) to ease integration into automated CI/CD pipelines with no access to Kubernetes API directly, promoting infrastructure as code vs manual operations.
The Postgres Operator has been developed at Zalando and is being used in production for over five years.
| Release | Postgres versions | K8s versions | Golang |
|---|---|---|---|
| v2.0.3 | 14 → 18 | 1.27+ | 1.26.4 |
| v1.15.1 | 13 → 17 | 1.27+ | 1.25.3 |
| v1.14.0 | 13 → 17 | 1.27+ | 1.23.4 |
| v1.13.0 | 12 → 16 | 1.27+ | 1.22.5 |
| v1.12.0 | 11 → 16 | 1.27+ | 1.22.3 |
| v1.11.0 | 11 → 16 | 1.27+ | 1.21.7 |
For a quick first impression follow the instructions of this tutorial.
If you have been using Postgres Operator since v1.x (thank you), make sure you have read the migration docs before deploying a v2 operator.
There is a browser-friendly version of this documentation at postgres-operator.readthedocs.io