~/talk

PostgreSQL HA Cluster with Query Load Balancing on Kubernetes

Talkat PGCon 2020 · 2020-05-26..05-29· [kubernetes, databases]
name:Bo Peng
links:none on file
slides:none on file

Demonstrates a working setup that uses KubeDB operator to create a 3-node streaming replication cluster (1 primary, 2 standbys) and deploys pgpool-II as a separate pod to parse queries and load-balance reads while sending writes to the primary. Uses Kubernetes Services for stable primary/replica DNS names, environment variables and ConfigMaps for pgpool config, and Prometheus plus postgres/pgpool exporters for metrics; failover and restarts work via K8s, and the demo shows read queries distributed across standbys. Notes KubeDB lacks Postgres 12 and some replication features.

AI-written summary · about

  1. 0:00Introduction
  2. 5:53Kubernetes basics
  3. 7:44PostgreSQL operators
  4. 12:41Architecture overview
  5. 17:03Deploying cluster
  6. 22:37Deploying pgpool
  7. 28:21Query load balancing
  8. 28:43Monitoring setup
  9. 35:35Limitations and future
  10. 38:11Summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.