Learn · PostgreSQL on Kubernetes

PostgreSQL operators on Kubernetes compared: CloudNativePG, Zalando, PGO, StackGres, Percona

Five operators cover most of the "Postgres on Kubernetes" question. They differ in how they do failover, which licence covers the code and the images, and how recently they shipped. This page lays them side by side.

45 minutes with an engineer: we review your workload and sketch the design.

  • Licence and last release read 4 Dec 2026
  • CloudNativePG how-to is on its own page

A PostgreSQL operator reconciles a cluster resource into pods, volumes, replication, failover and backups. CloudNativePG, Zalando, Crunchy PGO and Percona are permissively licensed. StackGres source is AGPL-3.0, and Crunchy's images carry developer-program terms. Four have releases dated in the last six months, and StackGres's repository was updated on 18 Nov 2026. Read from each project's own pages, 4 Dec 2026.

Customers

  • Microsoft logo
  • Henry Schein logo
  • Enbridge logo
  • Gojek logo

Partners

  • Broadcom logo
  • Redis logo
  • VMware Tanzu logo
  • OSSeva logo

What does a PostgreSQL operator do, and do you need one?

An operator is a controller that watches a custom resource describing a Postgres cluster and does the work a DBA would: create pods and volumes, set up replication, promote a standby when the primary fails, schedule backups and roll out minor updates. On Kubernetes it replaces a hand-built StatefulSet. You need one for production.

CloudNativePG's own README describes the pattern: the operator keeps the cluster state in the Kubernetes API, elects a new primary if the primary fails, and adds or removes replicas as the count changes (README, checked 4 Dec 2026). The other four do the same job with different building blocks. What none of them supplies is the part around the software: storage design, restore drills, upgrade calendars and someone on call.

How do CloudNativePG, Zalando, Crunchy PGO, StackGres and Percona compare?

They split two ways on failover: CloudNativePG uses the Kubernetes API, while Zalando and StackGres use Patroni. Licences differ more than features. Four have permissive operator code, StackGres source is AGPL-3.0, and Crunchy's container images are under developer-program terms.

CloudNativePGCrunchy PGOStackGres
Operator licenceApache-2.0MITApache-2.0 (code)AGPL-3.0 source; commercial non-GPL licence on requestApache-2.0
Latest release readv1.30.2, 17 Nov 2026; 1.31 RC1 on 25 Novv2.0.3, 2 Oct 2026v6.0.4, 16 Nov 2026 (5.8.10 the same day)1.19.5 (latest tag; date not read)v3.1.1, 1 Dec 2026
Failover and HAOperator uses the Kubernetes API; no Patroni, repmgr or StolonPatroniDescribed as a distributed-consensus HA solutionPatroniHA and disaster recovery; based on Crunchy's operator
PostgreSQL versions stated15 to 18 for 1.3014 to 18 for v2.0.3Not stated on the pages read12 to 18Not read
BackupsNative Barman Cloud support, removed from 1.32 onWAL-G or WAL-E via Spilo, pg_basebackup; logical backups to S3 or GCSpgBackRest: full, incremental, differentialAutomated backupsScheduled and manual backups
ExtrasCNCF incubating project per its READMEPgBouncer pooling, in-place major upgrades, UI to edit manifestsTLS enforced on all connections, standby clustersWeb console, built-in pooling, Envoy, distributed logs, Prometheus and GrafanaPMM monitoring; Percona Everest web UI
Kubernetes versions stated1.34 to 1.36 supported for 1.301.27 or newerNot readTested on named cloud versionsNot read

Sources, all checked 4 Dec 2026: CloudNativePG and its supported releases; Zalando; Crunchy PGO; StackGres README and versions page; Percona. "Not read" means we did not confirm it, not that it is absent.

45 minutes with an engineer: we review your workload and sketch the design, then price it.

How does failover differ between them?

CloudNativePG does failover itself through the Kubernetes API and says it does not rely on external HA tools such as Patroni. Zalando and StackGres rely on Patroni. That choice changes what you debug at 3am: operator logs and the Cluster resource, or Patroni's state plus the operator.

CloudNativePG's README says it integrates directly with the Kubernetes API instead of external high-availability tools like Patroni, repmgr or Stolon (README). Zalando's README says its clusters are powered by Patroni (README), and StackGres lists failover and HA with Patroni as a feature (README). For a worked comparison of the two designs, with failover timers, see CloudNativePG vs Patroni. The generic questions of fencing, synchronous replication and client routing are in the PostgreSQL high-availability guide.

Which licence terms matter?

Check two layers: the operator's code licence and the terms on the container images it pulls. CloudNativePG, Zalando and Percona are permissive on the code. StackGres source is AGPL-3.0. Crunchy's PGO code is Apache-2.0, but the default images come from its Developer Portal under developer-program terms.

StackGres.
Source is AGPL-3.0, and the project says a commercial licence without the GPL clauses is available on request (README FAQ, checked 4 Dec 2026). AGPL matters mostly if you modify the operator and offer it to others; get a legal view for your case.
Crunchy PGO.
The README says installing as written downloads images from Crunchy's Developer Portal, under the Crunchy Data Developer Program terms. Those terms, as read, allow production use for individuals and organisations under 50 employees, limit larger organisations to development unless they hold a support subscription, and bar redistribution or offering the software as a service (terms, checked 4 Dec 2026). The README also describes building the images from community PostgreSQL packages.
Percona.
The README describes the operator as based on Crunchy's operator, and the repository's licence file is Apache-2.0 text with Crunchy and Percona copyright lines (README).
CloudNativePG and Zalando.
Apache-2.0 (repository) and MIT (README).

How actively is each one maintained?

Four have releases dated in the last six months of this check, and StackGres's repository had a commit on 18 Nov 2026. CloudNativePG publishes a minor release about every three months and supports each until three months after the next. Percona shipped 3.1.1 on 1 Dec 2026. A release date shows activity, not quality, so also read the project's supported-versions page before you pin a version.

CloudNativePG
v1.30.2 on 17 Nov 2026 and 1.31.0-rc1 on 25 Nov (releases). Its policy lists 1.30 as supported until about Mar 2027 and says 1.31 is the last minor release with native Barman Cloud support (supported releases).
Zalando
v2.0.3 on 2 Oct 2026, covering PostgreSQL 14 to 18 (releases).
Crunchy PGO
v6.0.4 on 16 Nov 2026 and v5.8.10 the same day, so two lines are being patched (releases).
StackGres
latest tag 1.19.5, with PostgreSQL 12 to 18 listed (tags, versions).
Percona
v3.1.1 on 1 Dec 2026, v3.1.0 on 9 Sep 2026 (releases).

Which operator should you pick?

Pick by constraint, not by feature count. Choose CloudNativePG for Kubernetes-native HA and the shortest path on OpenShift, Zalando if you already trust Patroni and want a small operator, StackGres for a console and bundled extras, and Crunchy or Percona if you want pgBackRest-centred backups and accept their terms.

IfConsiderCheck first
You want the operator to own failover through the Kubernetes APICloudNativePGThe Barman Cloud change from 1.32 if you use native backups
Your team already runs Patroni elsewhereZalando or StackGresZalando's pooling and backup options against your needs
You want a web console, pooling and logs in one stackStackGresAGPL-3.0 against your legal policy
pgBackRest is your backup standardCrunchy PGO or PerconaImage terms for Crunchy; support terms for either
You are on OpenShiftCloudNativePG or ZalandoZalando's README says it is compatible with OpenShift. See OpenShift
The database is small and not criticalA managed cloud planAn operator is more machinery than the job needs

Our reading of the sources above, not a benchmark or a ranking.

What does an operator not do for you?

An operator automates the Postgres lifecycle inside a cluster. It does not size the storage class, decide your recovery objectives, practise a restore, plan a major-version upgrade, watch for transaction ID wraparound, or answer the page at night. Those stay with whoever runs it.

Storage.
Volume type, snapshots and node placement are Kubernetes and cloud choices the operator inherits. See PostgreSQL on Kubernetes.
Recovery.
A backup is only proven by a restore. Time one, and write the result into the design.
Failover behaviour.
Rehearse it; clients must reconnect after a promotion (HA guide).
Connections.
Pods multiply connections quickly; see connection limits.
Operator upgrades.
Operators ship breaking changes between lines, as Crunchy's parallel 5.8 and 6.0 releases and CloudNativePG's backup change show.

How does OSStend run PostgreSQL on Kubernetes?

OSStend runs PostgreSQL on Kubernetes and OpenShift in your cloud account or data center, or air-gapped, with named engineers on call 24/7. The design is written and signed off before the build, and a failover is rehearsed before go-live. Prices are quoted per design.

On Kubernetes or OpenShift, OSStend's PostgreSQL service uses CloudNativePG, described on managed CloudNativePG. The wider service is managed PostgreSQL; pricing explains how quotes work.

Who this does not fit

This page suits platform and database teams choosing an operator. It does not give a benchmark winner, and it cannot tell you whether to run Postgres on Kubernetes at all.

Contact us if

  • You are choosing an operator and want licence, HA design and release facts in one table.
  • You run OpenShift or Kubernetes and want Postgres under the same platform tooling.
  • You want an on-call team to run the operator and the database for you.
Talk to an engineer

Not a fit if

  • You need a performance ranking. None is made here.
  • You run a single small database. A managed cloud plan will cost less effort.
  • You want a self-serve cloud database with a free tier. OSStend does not offer one.

Questions about PostgreSQL operators on Kubernetes

What is the best PostgreSQL operator for Kubernetes?

There is no single best. CloudNativePG, Zalando, Crunchy PGO, StackGres and Percona each fit a different constraint; the decision table above maps them. Check licence and image terms first.

Is CloudNativePG better than the Zalando postgres-operator?

They use different failover designs: CloudNativePG uses the Kubernetes API, Zalando uses Patroni. Both were released within the last three months of this check (checked 4 Dec 2026). See the comparison with Patroni.

Is Crunchy PGO free to use in production?

The operator code is Apache-2.0. The default images fall under Crunchy's developer-program terms, which as read limit production use to organisations under 50 employees unless they hold a support subscription (terms, checked 4 Dec 2026). Check them for your case.

Is StackGres open source?

Its source is AGPL-3.0, an OSI-approved licence, and a commercial licence without the GPL clauses is offered on request, per its README.

Should I run PostgreSQL on Kubernetes at all?

If your team already runs stateful workloads on Kubernetes and wants one platform, yes, with an operator and rehearsed restores. If not, a managed plan or virtual machines with Patroni may be simpler.

Do I need Patroni with an operator?

Not with CloudNativePG, which does failover itself. Zalando and StackGres bundle Patroni, so you do not install it separately either.

Talk to an engineer

Take your platform to an engineer

45 minutes: your Kubernetes platform, storage and recovery targets are reviewed, and an operator choice and PostgreSQL design are sketched.

  • A design sketch for your workload, not a plan menu
  • A zero-downtime cutover path for what you run today
  • A price for that design, after the review
See pricing →

Your request goes to the OSStend team. No newsletter sign-up.

Get a quoteTalk to an engineer
2Engines Optional
3Where should it run?
4What do you need?

Your request goes to the OSStend team. No newsletter sign-up.