Replacing StatefulSets With a Custom K8s Operator in Our Postgres Cloud Platform
Blog post from Tiger Data
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.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Kubernetes | 15 | 1,472 | 188 | 76 | +11% |
| Vector Search | 3 | 4,713 | 314 | 102 | +27% |
| Platform Engineering | 1 | 301 | 68 | 40 | +5% |
| Real-time | 1 | 4,539 | 1,016 | 242 | +4% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.