~/talk

Chaos testing of a Postgres cluster on Kubernetes

Talkat Percona University Istanbul 2022 · on Saturday, 2022-11-05· [kubernetes, databases]
slides:none on file

Shows that Kubernetes operators can approach cloud DB automation but do not guarantee zero downtime, with measured outages of ~30s for a replica failure, ~27s when the primary is fenced, a 10s rolling update plus a 22s self-upgrade pause in the demo. Uses Zalando Postgres Operator, Chaos Mesh for fault injection, Patroni for leader election and health, and PgBouncer for pooling; includes a custom observability agent integrating with Prometheus at ~1s resolution that exposes why failovers and replica lag cause application errors.

AI-written summary · about

  1. 0:00Postgres on Kubernetes intro
  2. 3:48100% availability impossible
  3. 4:31Replica under load isolation
  4. 7:25Failing primary instance
  5. 8:35Network partition primary-replica
  6. 10:20Connection pooler isolation
  7. 11:46Postgres cluster upgrade
  8. 14:23Key takeaways and tools
  9. 15:53Q&A
~/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.