
PostgreSQL Disaster Recovery Strategies on Kubernetes
"Learn about PostgreSQL disaster recovery techniques on Kubernetes, including high availability, backups, and replication. Explore use cases, Kubernetes operators, and automated deployment for efficient database management in a containerized environment."
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Disaster Recovery for PostgreSQL on Kubernetes Sergey Pronin, Percona
Why Kubernetes? Use cases PostgreSQL on Kubernetes Operators High Availability Disaster Recovery Intro @ 2021 Percona | Confidential
Bare-metal -> VMs -> Containers Orchestration with Kubernetes CNCF data (2020 survey) 91% use k8s, 83% in production Data on Kubernetes data (2021 report) 70% already run stateful apps on Kubernetes Percona sees demand Community and customers Why Kubernetes @ 2021 Percona | Confidential
The Good The Bad and the Ugly Something as a service Platforms DBaaS Dev/test Repeatable deployment Kubernetes shop Huge main frame or monolith I heard k8s is good One DB, one app Startup Use cases @ 2021 Percona | Confidential
PostgreSQL on Kubernetes 2 main pieces Kubernetes primitives Configuration Day-1 and Day-2 operations Deploy? Manage? @ 2020 Percona
Operators 1. 2. Operator is a Pod Reconcile loop checks k8s API for Custom Resource (CR) k8s controllers are aware of CR creation or changes Operator s code provisions and manages a. k8s primitives b. DB and components configuration 3. 4. @ 2020 Percona
Give me a service End-state: user gets the service Automated deployment Day-2 operations are taken care of backups scaling upgrades @ 2020 Percona
Disaster Recovery @ 2020 Percona
Disaster Recovery - backups Pros - simple Cons - long recovery RTO/SLA breach - @ 2020 Percona
Pros Pros Pros Cons Cons Cons Disaster Recovery - replication - - - - looks simple MCS is coming of everything native PG way k8s takes care - - - Lots of logic Single Points Kubefed is dead in Operator of Failure Federation Two Operators Edge nodes @ 2020 Percona
Disaster Recovery - pgBackrest @ 2020 Percona
Thanks! Q&A Any questions? You can find me at: Twitter: @sergeypronin sergey.pronin@percona.com 13 @ 2021 Percona | Confidential