A fork of Neon · Postgres 18 and 19 · Apache 2.0
Serverless Postgres, on your own Kubernetes.
Peat is a fork of Neon, the open-source serverless Postgres. It keeps Neon's storage engine running on current Postgres releases and adds a Kubernetes operator that installs and runs it for you.
Why it exists
Neon's open-source repository is no longer kept up in the open: it stopped taking new Postgres releases in 2025. Peat keeps it alive and current.
What it is
Serverless Postgres, with storage separated from compute.
-
Scale to zero
A database nobody is using is stopped. Its data stays. The next connection wakes it, in seconds.
-
Instant branches
Copy-on-write: a branch copies no data and costs only what it later changes.
-
Point-in-time recovery
Restore a database, or branch it, from any moment in its history. Seven days by default.
-
Read replicas
A read-only copy that follows its primary, made with one object, asleep until you connect to it.
What Peat adds
A control plane and a Kubernetes operator. You declare one Platform object, a bucket and a few
machines, and the operator installs and runs the whole thing: the storage, the control plane and the front
door that databases are reached through.
Each database is a Kubernetes object. A branch is a database with a parent. A replica is a database that follows another.
Upgrades are ordered and checked: change the release in the Platform and the platform moves
one piece at a time. A database moves to a newer Postgres version the same way, by changing one field.
apiVersion: peat.zabaca.com/v1alpha1
kind: Database
metadata:
name: orders apiVersion: peat.zabaca.com/v1alpha1
kind: Database
metadata:
name: orders-dev
spec:
parent: orders Try it in two minutes
On a laptop. You need Docker (running), kind, kubectl, Bun and psql.
$ git clone --depth 1 --branch release-2026-11-28 https://github.com/Zabaca/peat
$ peat/control/examples/try-it.sh The script makes a throwaway kind cluster, installs Peat, makes a database, writes and reads it with psql, puts it to sleep and wakes it by connecting. Then it prints how to connect and how to delete the cluster.
On a real cluster, the install is one file and one object: install on a real cluster.
Status: alpha
Peat runs Zabaca's own production databases. It is also young, and the docs say plainly what is not there yet:
- The API is v1alpha1: a field may change between releases.
- One Platform per cluster.
- It runs what it installed. It cannot take over an existing install.
- IPv6-only clusters are not supported.
- The compute image has Neon's own extension, but none of the third-party extensions Neon's image carries.
Tested on Kubernetes 1.30 and 1.34. FORK.md lists every change Peat made to Neon: what it fixes, what was tested, and what was not.