/plushcap/analysis/timescale/timescale-replacing-statefulsets-with-a-custom-k8s-operator-in-our-postgres-cloud-platform

Replacing StatefulSets With a Custom K8s Operator in Our Postgres Cloud Platform

What's this blog post about?

The platform team at Timescale has replaced StatefulSets with their own Kubernetes custom resource and operator called PatroniSets to manage customer database pods and volumes, improving stability and minimizing disruptions. They chose this approach over managing the pods and volumes directly in their main operator or using StatefulSets in "OnDelete" mode. The new system is PostgreSQL/Patroni-aware, has a declarative Custom Resource (CR), and minimizes downtime by performing actions in order to reduce customer disruption. Since its introduction, PatroniSets have provided significant improvements in stability and availability guarantees for Timescale's customers.

Company
Timescale

Date published
Oct. 9, 2024

Author(s)
Andrew Charlton

Word count
3508

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.