More Related Content Similar to stackconf 2023 | Database Infrastructure with Open Source Kubernetes Database Operators by Inel Pandzic.pdf (20) stackconf 2023 | Database Infrastructure with Open Source Kubernetes Database Operators by Inel Pandzic.pdf20. ©2023 Percona
Why run a database on K8s?
● Evolution
● Customer driven
“90% believe it is ready for stateful workloads, and a large majority (70%) are running
them in production with databases topping the list. Companies report significant
benefits to standardization, consistency, and management as key drivers.” - DoKC 2021
Report
21. ©2023 Percona
Why run a database on K8s?
● Evolution
● Customer driven
“90% believe it is ready for stateful workloads, and a large majority (70%) are running
them in production with databases topping the list. Companies report significant
benefits to standardization, consistency, and management as key drivers.” - DoKC 2021
Report
“This year’s report found that running data on Kubernetes benefits the whole
organization, not just engineering. Leaders believe DoK is transformative for
business growth” - DoKC 2022 Report
35. ©2023 Percona
Databases with K8s Operators
● What is a K8s operator?
○ Custom Kubernetes controller
○ Extensions to the K8s API (Custom Resource)
39. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
40. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
● Day-2 operations automated
41. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
● Day-2 operations automated
○ Scaling
42. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
● Day-2 operations automated
○ Scaling
cr.yaml
43. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
● Day-2 operations automated
○ Scaling
○ Backups/Restores
cr.yaml
44. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
● Day-2 operations automated
○ Scaling
○ Backups/Restores
cr.yaml
45. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
● Day-2 operations automated
○ Scaling
○ Backups/Restores
cr.yaml
46. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
● Day-2 operations automated
○ Scaling
○ Backups/Restores
○ Upgrades
47. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
● Day-2 operations automated
○ Scaling
○ Backups/Restores
○ Upgrades
○ Monitoring (Percona Monitoring and Management)
48. ©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
● Day-2 operations automated
○ Scaling
○ Backups/Restores
○ Upgrades
○ Monitoring (Percona Monitoring and Management)
○ Maintenance
55. ©2023 Percona
Summary
● Databases on K8s is prefered
● Kubernetes operators
○ Percona Operator for MySQL
○ Percona Operator for MongoDB
○ Percona Operator for PostgreSQL