DiscoverKubeFMReplacing StatefulSets with a custom Kubernetes operator in our Postgres cloud platform, with Andrew Charlton
Replacing StatefulSets with a custom Kubernetes operator in our Postgres cloud platform, with Andrew Charlton

Replacing StatefulSets with a custom Kubernetes operator in our Postgres cloud platform, with Andrew Charlton

Update: 2025-04-22
Share

Description

Discover why standard Kubernetes StatefulSets might not be sufficient for your database workloads and how custom operators can provide better solutions for stateful applications.

Andrew Charlton, Staff Software Engineer at Timescale, explains how they replaced Kubernetes StatefulSets with a custom operator called Popper for their PostgreSQL Cloud Platform. He details the technical limitations they encountered with StatefulSets and how their custom approach provides more intelligent management of database clusters.

You will learn:

  • Why StatefulSets fall short for managing high-availability PostgreSQL clusters, particularly around pod ordering and volume management

  • How Timescale's instance matching approach solves complex reconciliation challenges when managing heterogeneous database workloads

  • The benefits of implementing discrete, idempotent actions rather than workflows in Kubernetes operators

  • Real-world examples of operations that became possible with their custom operator, including volume downsizing and availability zone consolidation

Sponsor

This episode is brought to you by mirrord — run local code like in your Kubernetes cluster without deploying first.

More info

Comments 
In Channel
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Replacing StatefulSets with a custom Kubernetes operator in our Postgres cloud platform, with Andrew Charlton

Replacing StatefulSets with a custom Kubernetes operator in our Postgres cloud platform, with Andrew Charlton