Running PostgreSQL on Kubernetes · Day 2 Operations with CloudNativePG

Demo 1 — Deploy

One Cluster CR: 3 instances, streaming replication, a PgBouncer Pooler in front.

Beats

  1. 0:0301-cluster.yaml on screen
  2. 0:1001-cluster.yaml on screen
  3. 0:15Operator schedules 3 pods, picks a primary, bootstraps strea
  4. 0:30Pooler CR = managed PgBouncer Deployment + Service. No Helm
  5. 0:3401b-pooler.yaml on screen
  6. 0:47Connect through the pooler, not the database. Transaction-mo

Replay it locally

asciinema play -i 2 demos/demo1.cast  ·  download the cast