~/talk

When StatefulSets are not enough

Talkat Berlin Buzzwords 2025 · 2025-06-15..06-17· [kubernetes, databases]
speakerdeck:mgill25
slides:none on file

Kubernetes StatefulSets block safe vertical resizing and zero-downtime autoscaling for ClickHouse Cloud, so the team builds a make-before-break flow by replacing one monolithic StatefulSet with per-pod multi-STS objects, adds zone‑pinning and PVC snapshot guards, and runs coordinated migrations via Temporal workflows plus a wrapper migration controller. The migration moves thousands of clusters over a year with no customer downtime, required core DB fixes (replica sync FROM modifier, materialized view and external engine resilience) and proved the approach in production.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03What is ClickHouse
  3. 3:07ClickHouse operator basics
  4. 6:20Vertical scaling challenges
  5. 9:52Break-first scaling limitations
  6. 13:00Evaluating existing solutions
  7. 15:49Multi-stateful set concept
  8. 18:14Migration challenges
  9. 22:49Migration controller design
  10. 25:37Topology spread constraints
  11. 27:45Zone pinning solution
  12. 28:27Database elasticity issues
  13. 30:35Unbreakable replicas problem
  14. 31:39System table synchronization
  15. 32:00Fleet migration journey
  16. 33:04Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.