Peat

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.

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.

A database
apiVersion: peat.zabaca.com/v1alpha1
kind: Database
metadata:
  name: orders
A branch of it
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:

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.