SlideShare a Scribd company logo
1 of 56
Download to read offline
Database
Infrastructure with
Open Source
Kubernetes Operators
Inel Pandzic, Software Engineer
©2023 Percona
About Me
● Inel Pandzic
● Software Engineer @ Percona
● Blogging @ inelpandzic.com
©2023 Percona
Agenda
©2023 Percona
Agenda
● Context
©2023 Percona
Agenda
● Context
● Databases on Kubernetes the hard way
©2023 Percona
Agenda
● Context
● Databases on Kubernetes the hard way
● Kubernetes operators
©2023 Percona
Agenda
● Context
● Databases on Kubernetes the hard way
● Kubernetes operators
● Summary
©2023 Percona
Database Infrastructure
©2023 Percona
Database Infrastructure
● Simple for simple things
©2023 Percona
Database Infrastructure
● Simple for simple things
● Complex for demanding things
©2023 Percona
Database Infrastructure
©2023 Percona
Database Infrastructure
©2023 Percona
Why run a database on K8s?
©2023 Percona
Why run a database on K8s?
● Evolution
©2023 Percona
Why run a database on K8s?
● Evolution
©2023 Percona
Why run a database on K8s?
● Evolution
©2023 Percona
Why run a database on K8s?
● Evolution
©2023 Percona
Why run a database on K8s?
● Evolution
©2023 Percona
Why run a database on K8s?
● Evolution
● Customer driven
©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
©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
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases on K8S the hard way
©2023 Percona
Databases with K8s Operators
©2023 Percona
Databases with K8s Operators
● What is a K8s operator?
©2023 Percona
Databases with K8s Operators
● What is a K8s operator?
○ Custom Kubernetes controller
©2023 Percona
Databases with K8s Operators
● What is a K8s operator?
○ Custom Kubernetes controller
○ Extensions to the K8s API (Custom Resource)
©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
cr.yaml
©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
©2023 Percona
Databases with K8s Operators
● Manages the database and K8s primitives
● Day-1 operations simplified
○ kubectl apply -f cr.yaml
©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
©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
©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
©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
©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
©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
©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
©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)
©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
©2023 Percona
Databases with K8s Operators
©2023 Percona
Databases with K8s Operators
©2023 Percona
Databases with K8s Operators
©2023 Percona
Summary
©2023 Percona
Summary
● Databases on K8s is prefered
©2023 Percona
Summary
● Databases on K8s is prefered
● Kubernetes operators
©2023 Percona
Summary
● Databases on K8s is prefered
● Kubernetes operators
○ Percona Operator for MySQL
○ Percona Operator for MongoDB
○ Percona Operator for PostgreSQL
Thank You!

More Related Content

Similar to stackconf 2023 | Database Infrastructure with Open Source Kubernetes Database Operators by Inel Pandzic.pdf

Reliable Performance at Scale with Apache Spark on Kubernetes
Reliable Performance at Scale with Apache Spark on KubernetesReliable Performance at Scale with Apache Spark on Kubernetes
Reliable Performance at Scale with Apache Spark on Kubernetes
Databricks
 
PostgreSQL major version upgrade using built in Logical Replication
PostgreSQL major version upgrade using built in Logical ReplicationPostgreSQL major version upgrade using built in Logical Replication
PostgreSQL major version upgrade using built in Logical Replication
Atsushi Torikoshi
 
Verifying Apache Kafka-Based Data Pipelines With Subhangi Agarwala | Current ...
Verifying Apache Kafka-Based Data Pipelines With Subhangi Agarwala | Current ...Verifying Apache Kafka-Based Data Pipelines With Subhangi Agarwala | Current ...
Verifying Apache Kafka-Based Data Pipelines With Subhangi Agarwala | Current ...
HostedbyConfluent
 
Pivotal Container Service : la nuova soluzione per gestire Kubernetes in azienda
Pivotal Container Service : la nuova soluzione per gestire Kubernetes in aziendaPivotal Container Service : la nuova soluzione per gestire Kubernetes in azienda
Pivotal Container Service : la nuova soluzione per gestire Kubernetes in azienda
VMware Tanzu
 

Similar to stackconf 2023 | Database Infrastructure with Open Source Kubernetes Database Operators by Inel Pandzic.pdf (20)

Cross region replication in Percona Kubernetes operator
 Cross region replication in Percona Kubernetes operator Cross region replication in Percona Kubernetes operator
Cross region replication in Percona Kubernetes operator
 
Reliable Performance at Scale with Apache Spark on Kubernetes
Reliable Performance at Scale with Apache Spark on KubernetesReliable Performance at Scale with Apache Spark on Kubernetes
Reliable Performance at Scale with Apache Spark on Kubernetes
 
1000 node Cassandra cluster on Amazon's EKS?
1000 node Cassandra cluster on Amazon's EKS?1000 node Cassandra cluster on Amazon's EKS?
1000 node Cassandra cluster on Amazon's EKS?
 
1000 node Cassandra cluster on Amazon's EKS? - Matt Overstreet (DoK Day EU 2022)
1000 node Cassandra cluster on Amazon's EKS? - Matt Overstreet (DoK Day EU 2022)1000 node Cassandra cluster on Amazon's EKS? - Matt Overstreet (DoK Day EU 2022)
1000 node Cassandra cluster on Amazon's EKS? - Matt Overstreet (DoK Day EU 2022)
 
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CDCloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
 
Introduction to Data Engineer and Data Pipeline at Credit OK
Introduction to Data Engineer and Data Pipeline at Credit OKIntroduction to Data Engineer and Data Pipeline at Credit OK
Introduction to Data Engineer and Data Pipeline at Credit OK
 
PKS is Not JAK8sP (Just Another Kubernetes Platform)
PKS is Not JAK8sP (Just Another Kubernetes Platform)PKS is Not JAK8sP (Just Another Kubernetes Platform)
PKS is Not JAK8sP (Just Another Kubernetes Platform)
 
Ryan Betts [InfluxData] | Influxdays Keynote: Engineering Update | InfluxDays...
Ryan Betts [InfluxData] | Influxdays Keynote: Engineering Update | InfluxDays...Ryan Betts [InfluxData] | Influxdays Keynote: Engineering Update | InfluxDays...
Ryan Betts [InfluxData] | Influxdays Keynote: Engineering Update | InfluxDays...
 
Mysql ecosystem in 2019
Mysql ecosystem in 2019Mysql ecosystem in 2019
Mysql ecosystem in 2019
 
Webinar: Building a multi-cloud Kubernetes storage on GitLab
Webinar: Building a multi-cloud Kubernetes storage on GitLabWebinar: Building a multi-cloud Kubernetes storage on GitLab
Webinar: Building a multi-cloud Kubernetes storage on GitLab
 
PostgreSQL major version upgrade using built in Logical Replication
PostgreSQL major version upgrade using built in Logical ReplicationPostgreSQL major version upgrade using built in Logical Replication
PostgreSQL major version upgrade using built in Logical Replication
 
Containers and Kubernetes
Containers and KubernetesContainers and Kubernetes
Containers and Kubernetes
 
A Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle CloudA Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle Cloud
 
Load balancing and Service in Kubernetes
Load balancing and Service in KubernetesLoad balancing and Service in Kubernetes
Load balancing and Service in Kubernetes
 
Verifying Apache Kafka-Based Data Pipelines With Subhangi Agarwala | Current ...
Verifying Apache Kafka-Based Data Pipelines With Subhangi Agarwala | Current ...Verifying Apache Kafka-Based Data Pipelines With Subhangi Agarwala | Current ...
Verifying Apache Kafka-Based Data Pipelines With Subhangi Agarwala | Current ...
 
CNCF Live Webinar: Kubernetes 1.23
CNCF Live Webinar: Kubernetes 1.23CNCF Live Webinar: Kubernetes 1.23
CNCF Live Webinar: Kubernetes 1.23
 
002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...
002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...
002 Introducing Neo4j 5 for Administrators - NODES2022 AMERICAS Beginner 2 - ...
 
Pivotal Container Service : la nuova soluzione per gestire Kubernetes in azienda
Pivotal Container Service : la nuova soluzione per gestire Kubernetes in aziendaPivotal Container Service : la nuova soluzione per gestire Kubernetes in azienda
Pivotal Container Service : la nuova soluzione per gestire Kubernetes in azienda
 
Top 10 Kubernetes Native Java Quarkus Features
Top 10 Kubernetes Native Java Quarkus FeaturesTop 10 Kubernetes Native Java Quarkus Features
Top 10 Kubernetes Native Java Quarkus Features
 
Scaling your apps with Kubernetes and Docker - TheConf 2018
Scaling your apps with Kubernetes and Docker - TheConf 2018Scaling your apps with Kubernetes and Docker - TheConf 2018
Scaling your apps with Kubernetes and Docker - TheConf 2018
 

Recently uploaded

Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Hung Le
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
David Celestin
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
ZurliaSoop
 

Recently uploaded (20)

Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
BEAUTIFUL PLACES TO VISIT IN LESOTHO.pptx
BEAUTIFUL PLACES TO VISIT IN LESOTHO.pptxBEAUTIFUL PLACES TO VISIT IN LESOTHO.pptx
BEAUTIFUL PLACES TO VISIT IN LESOTHO.pptx
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Zone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptxZone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptx
 
Call Girls Near The Byke Suraj Plaza Mumbai »¡¡ 07506202331¡¡« R.K. Mumbai
Call Girls Near The Byke Suraj Plaza Mumbai »¡¡ 07506202331¡¡« R.K. MumbaiCall Girls Near The Byke Suraj Plaza Mumbai »¡¡ 07506202331¡¡« R.K. Mumbai
Call Girls Near The Byke Suraj Plaza Mumbai »¡¡ 07506202331¡¡« R.K. Mumbai
 
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
 
LITTLE ABOUT LESOTHO FROM THE TIME MOSHOESHOE THE FIRST WAS BORN
LITTLE ABOUT LESOTHO FROM THE TIME MOSHOESHOE THE FIRST WAS BORNLITTLE ABOUT LESOTHO FROM THE TIME MOSHOESHOE THE FIRST WAS BORN
LITTLE ABOUT LESOTHO FROM THE TIME MOSHOESHOE THE FIRST WAS BORN
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
 
Lions New Portal from Narsimha Raju Dichpally 320D.pptx
Lions New Portal from Narsimha Raju Dichpally 320D.pptxLions New Portal from Narsimha Raju Dichpally 320D.pptx
Lions New Portal from Narsimha Raju Dichpally 320D.pptx
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
BIG DEVELOPMENTS IN LESOTHO(DAMS & MINES
BIG DEVELOPMENTS IN LESOTHO(DAMS & MINESBIG DEVELOPMENTS IN LESOTHO(DAMS & MINES
BIG DEVELOPMENTS IN LESOTHO(DAMS & MINES
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
Introduction to Artificial intelligence.
Introduction to Artificial intelligence.Introduction to Artificial intelligence.
Introduction to Artificial intelligence.
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
 
Ready Set Go Children Sermon about Mark 16:15-20
Ready Set Go Children Sermon about Mark 16:15-20Ready Set Go Children Sermon about Mark 16:15-20
Ready Set Go Children Sermon about Mark 16:15-20
 

stackconf 2023 | Database Infrastructure with Open Source Kubernetes Database Operators by Inel Pandzic.pdf