SlideShare a Scribd company logo
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
Power
Saturday
Running Stateful(set) applications like SQL
Server in K8s
David Barbarin
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
3 communautés pour partager,
échanger et apprendre
Power BI, Data, IA, Power Platform, Office 365, SharePoint, etc.
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
Merci à nos sponsors
http:// PowerSaturday.com
Silver
Bronze
Gold
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
The European SharePoint, Office 365 & Azure Conference
4 Days 2,500 Delegates 150+ Sessions 120 Speakers
Use code ESPC19SPSP for 10% discount on all tickets
www.sharepointeurope.com
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
> whoami
Architecture, Performance and high availability
David Barbarin
Principal Consultant
@mikedavem
David Barbarin
Blog
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
❖Container, what’s that?
❖Orchestration to the rescue
❖Stateful(set)
Agenda
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
❖Kubernetes
Orchestration to the rescue
▪ 2003-2004: Birth of the Borg project
▪ 2013: From Borg to Omega
▪ 2014: Google introduces K8s
▪ 2015: The year of Kube v1.0 & CNCF K8s v1.0
▪ 2016: K8s goes to mainstream (v1.2 -> 1.5)
Helm / Minikube
First Stateful support
▪ 2017: K8s v1.6 as a stabilization release
RBAC(Beta),autoprovisioning StorageClass
K8s v1.7 Local Storage support
Containerd integration
ECS (AWS), AKS (Azure), GKE (Google)
K8s v1.11 -> v1.13
▪ 2019: K8s v1.14
Windows as worker node in K8s
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
Orchestration to the rescue
POD
Worker node
POD
Worker node
Service
- Type: loadbalancer, nodePort, clusterIP
- Selector
- Source port : target port
- Endpoints
Kube-proxy
Master node Master node Master node API server
etcd
Scheduler
Affinity / anti-affinity
Labels
Worker node resource availability
Others …
Controller manager
Namespace controller
Pod controller
Service controller
…
DESIRED STATE
kubelet kubelet
health
Control plane
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
❖Stateful = Dealing with persistence
Stateful(set)
Pod
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
❖Stateful = Dealing with persistence
Stateful(set)
/var/opt/mssql
Pod
Persistent volume (PV)
▪ - Provisioner
▪ - StorageClass
▪ - Options
▪ - Reclaim policy
▪ - Static vs Dynamic provisioning
Persistent volume claim (PVC)
▪ - Access mode = RWO, ROM, RWM
▪ - Storage size
/var/opt/mssql
Pod
▪ Capabilities depend on storage plugin / providers
▪ Internal (in-tree) / (out-of-tree) external provisioners
▪ Access mode = RWO / ROM / RWM
▪ ReclaimPolicy = Retained / Delete
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
❖Why StatefulSet?
Stateful(set)
Worker node Worker node Worker node
MSSQL-1 MSSQL-2 MSSQL-3
Replica Replica Replica
ReplicaSet Replica controller
Deployment
Kubectl scale <replicaset> --replicas=3
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
❖Why StatefulSet?
Stateful(set)
Worker node Worker node Worker node
MSSQL-1 MSSQL-2 MSSQL-3
Replica Replica Replica
ReplicaSet Replica controller
Deployment
Kubectl scale <replicaset> --replicas=3
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
@ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019
Merci!

More Related Content

Similar to Power Saturday 2019 B2 - Running stateful(set) applications like SQL Server in K8s

Power Saturday 2019 B6 - SQL Server installation cookbook
Power Saturday 2019 B6 - SQL Server installation cookbookPower Saturday 2019 B6 - SQL Server installation cookbook
Power Saturday 2019 B6 - SQL Server installation cookbook
PowerSaturdayParis
 
Power Saturday 2019 E3 - SharePoint unexplained
Power Saturday 2019 E3 - SharePoint unexplainedPower Saturday 2019 E3 - SharePoint unexplained
Power Saturday 2019 E3 - SharePoint unexplained
PowerSaturdayParis
 
Power Saturday 2019 F4 - The rise of the citizen developer
Power Saturday 2019 F4 - The rise of the citizen developerPower Saturday 2019 F4 - The rise of the citizen developer
Power Saturday 2019 F4 - The rise of the citizen developer
PowerSaturdayParis
 
Power Saturday 2019 C5 - Driving Power BI automation through monitoring
Power Saturday 2019 C5 - Driving Power BI automation through monitoringPower Saturday 2019 C5 - Driving Power BI automation through monitoring
Power Saturday 2019 C5 - Driving Power BI automation through monitoring
PowerSaturdayParis
 
Query Anything, Anywhere with Kubernetes
Query Anything, Anywhere with KubernetesQuery Anything, Anywhere with Kubernetes
Query Anything, Anywhere with Kubernetes
Alluxio, Inc.
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWSDesign, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWS
Amazon Web Services
 
Scaling Apache Pulsar to 10 PB/day
Scaling Apache Pulsar to 10 PB/dayScaling Apache Pulsar to 10 PB/day
Scaling Apache Pulsar to 10 PB/day
Karthik Ramasamy
 
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 KeynoteScaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
StreamNative
 
Databases in the Cloud em Amazon Web Services
Databases in the Cloud em Amazon Web Services Databases in the Cloud em Amazon Web Services
Databases in the Cloud em Amazon Web Services
Amazon Web Services LATAM
 
Architecting SAP on Amazon Web Services - SVC216 - Chicago AWS Summit
Architecting SAP on Amazon Web Services - SVC216 - Chicago AWS SummitArchitecting SAP on Amazon Web Services - SVC216 - Chicago AWS Summit
Architecting SAP on Amazon Web Services - SVC216 - Chicago AWS Summit
Amazon Web Services
 
Scale Up and Modernize Your Database with Amazon Relational Database Service ...
Scale Up and Modernize Your Database with Amazon Relational Database Service ...Scale Up and Modernize Your Database with Amazon Relational Database Service ...
Scale Up and Modernize Your Database with Amazon Relational Database Service ...
Amazon Web Services
 
Power bi and azure ml
Power bi and azure mlPower bi and azure ml
Power bi and azure ml
Berkovich Consulting
 
Mvp skill saturday ep09 _06072019_azure updates - july 2019
Mvp skill saturday ep09 _06072019_azure updates - july 2019Mvp skill saturday ep09 _06072019_azure updates - july 2019
Mvp skill saturday ep09 _06072019_azure updates - july 2019
Kumton Suttiraksiri
 
Distributed Databases Deconstructed: CockroachDB, TiDB and YugaByte DB
Distributed Databases Deconstructed: CockroachDB, TiDB and YugaByte DBDistributed Databases Deconstructed: CockroachDB, TiDB and YugaByte DB
Distributed Databases Deconstructed: CockroachDB, TiDB and YugaByte DB
YugabyteDB
 
Webinar AWS: Ciclo de vida e análise de dados na Nuvem AWS
Webinar AWS: Ciclo de vida e análise de dados na Nuvem AWSWebinar AWS: Ciclo de vida e análise de dados na Nuvem AWS
Webinar AWS: Ciclo de vida e análise de dados na Nuvem AWS
Amazon Web Services LATAM
 
What's new in Amazon Aurora - ADB203 - Chicago AWS Summit
What's new in Amazon Aurora - ADB203 - Chicago AWS SummitWhat's new in Amazon Aurora - ADB203 - Chicago AWS Summit
What's new in Amazon Aurora - ADB203 - Chicago AWS Summit
Amazon Web Services
 
High Performance Computing (HPC) on AWS 101
High Performance Computing (HPC) on AWS 101High Performance Computing (HPC) on AWS 101
High Performance Computing (HPC) on AWS 101
Amazon Web Services
 
Demystifying Data Warehousing as a Service (GLOC 2019)
Demystifying Data Warehousing as a Service (GLOC 2019)Demystifying Data Warehousing as a Service (GLOC 2019)
Demystifying Data Warehousing as a Service (GLOC 2019)
Kent Graziano
 
GPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep diveGPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep dive
Riccardo Perico
 
Loading Data into Redshift: Data Analytics Week SF
Loading Data into Redshift: Data Analytics Week SFLoading Data into Redshift: Data Analytics Week SF
Loading Data into Redshift: Data Analytics Week SF
Amazon Web Services
 

Similar to Power Saturday 2019 B2 - Running stateful(set) applications like SQL Server in K8s (20)

Power Saturday 2019 B6 - SQL Server installation cookbook
Power Saturday 2019 B6 - SQL Server installation cookbookPower Saturday 2019 B6 - SQL Server installation cookbook
Power Saturday 2019 B6 - SQL Server installation cookbook
 
Power Saturday 2019 E3 - SharePoint unexplained
Power Saturday 2019 E3 - SharePoint unexplainedPower Saturday 2019 E3 - SharePoint unexplained
Power Saturday 2019 E3 - SharePoint unexplained
 
Power Saturday 2019 F4 - The rise of the citizen developer
Power Saturday 2019 F4 - The rise of the citizen developerPower Saturday 2019 F4 - The rise of the citizen developer
Power Saturday 2019 F4 - The rise of the citizen developer
 
Power Saturday 2019 C5 - Driving Power BI automation through monitoring
Power Saturday 2019 C5 - Driving Power BI automation through monitoringPower Saturday 2019 C5 - Driving Power BI automation through monitoring
Power Saturday 2019 C5 - Driving Power BI automation through monitoring
 
Query Anything, Anywhere with Kubernetes
Query Anything, Anywhere with KubernetesQuery Anything, Anywhere with Kubernetes
Query Anything, Anywhere with Kubernetes
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWSDesign, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWS
 
Scaling Apache Pulsar to 10 PB/day
Scaling Apache Pulsar to 10 PB/dayScaling Apache Pulsar to 10 PB/day
Scaling Apache Pulsar to 10 PB/day
 
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 KeynoteScaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
Scaling Apache Pulsar to 10 Petabytes/Day - Pulsar Summit NA 2021 Keynote
 
Databases in the Cloud em Amazon Web Services
Databases in the Cloud em Amazon Web Services Databases in the Cloud em Amazon Web Services
Databases in the Cloud em Amazon Web Services
 
Architecting SAP on Amazon Web Services - SVC216 - Chicago AWS Summit
Architecting SAP on Amazon Web Services - SVC216 - Chicago AWS SummitArchitecting SAP on Amazon Web Services - SVC216 - Chicago AWS Summit
Architecting SAP on Amazon Web Services - SVC216 - Chicago AWS Summit
 
Scale Up and Modernize Your Database with Amazon Relational Database Service ...
Scale Up and Modernize Your Database with Amazon Relational Database Service ...Scale Up and Modernize Your Database with Amazon Relational Database Service ...
Scale Up and Modernize Your Database with Amazon Relational Database Service ...
 
Power bi and azure ml
Power bi and azure mlPower bi and azure ml
Power bi and azure ml
 
Mvp skill saturday ep09 _06072019_azure updates - july 2019
Mvp skill saturday ep09 _06072019_azure updates - july 2019Mvp skill saturday ep09 _06072019_azure updates - july 2019
Mvp skill saturday ep09 _06072019_azure updates - july 2019
 
Distributed Databases Deconstructed: CockroachDB, TiDB and YugaByte DB
Distributed Databases Deconstructed: CockroachDB, TiDB and YugaByte DBDistributed Databases Deconstructed: CockroachDB, TiDB and YugaByte DB
Distributed Databases Deconstructed: CockroachDB, TiDB and YugaByte DB
 
Webinar AWS: Ciclo de vida e análise de dados na Nuvem AWS
Webinar AWS: Ciclo de vida e análise de dados na Nuvem AWSWebinar AWS: Ciclo de vida e análise de dados na Nuvem AWS
Webinar AWS: Ciclo de vida e análise de dados na Nuvem AWS
 
What's new in Amazon Aurora - ADB203 - Chicago AWS Summit
What's new in Amazon Aurora - ADB203 - Chicago AWS SummitWhat's new in Amazon Aurora - ADB203 - Chicago AWS Summit
What's new in Amazon Aurora - ADB203 - Chicago AWS Summit
 
High Performance Computing (HPC) on AWS 101
High Performance Computing (HPC) on AWS 101High Performance Computing (HPC) on AWS 101
High Performance Computing (HPC) on AWS 101
 
Demystifying Data Warehousing as a Service (GLOC 2019)
Demystifying Data Warehousing as a Service (GLOC 2019)Demystifying Data Warehousing as a Service (GLOC 2019)
Demystifying Data Warehousing as a Service (GLOC 2019)
 
GPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep diveGPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep dive
 
Loading Data into Redshift: Data Analytics Week SF
Loading Data into Redshift: Data Analytics Week SFLoading Data into Redshift: Data Analytics Week SF
Loading Data into Redshift: Data Analytics Week SF
 

More from PowerSaturdayParis

Power Saturday 2019 S2 - Version avancée de création de Teams en libre service
Power Saturday 2019 S2 - Version avancée de création de Teams en libre servicePower Saturday 2019 S2 - Version avancée de création de Teams en libre service
Power Saturday 2019 S2 - Version avancée de création de Teams en libre service
PowerSaturdayParis
 
Power Saturday 2019 F2 - La combinaison de Dynamics 365 avec la Power Platform
Power Saturday 2019 F2 - La combinaison de Dynamics 365 avec la Power PlatformPower Saturday 2019 F2 - La combinaison de Dynamics 365 avec la Power Platform
Power Saturday 2019 F2 - La combinaison de Dynamics 365 avec la Power Platform
PowerSaturdayParis
 
Power Saturday 2019 E6 - Day-to-day processes optimization in Office 365
Power Saturday 2019 E6 - Day-to-day processes optimization in Office 365Power Saturday 2019 E6 - Day-to-day processes optimization in Office 365
Power Saturday 2019 E6 - Day-to-day processes optimization in Office 365
PowerSaturdayParis
 
Power Saturday 2019 E1 - Office 365 security
Power Saturday 2019 E1 - Office 365 securityPower Saturday 2019 E1 - Office 365 security
Power Saturday 2019 E1 - Office 365 security
PowerSaturdayParis
 
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
PowerSaturdayParis
 
Power Saturday 2019 F3 - Enabling external sharing in Office365 SharePoint an...
Power Saturday 2019 F3 - Enabling external sharing in Office365 SharePoint an...Power Saturday 2019 F3 - Enabling external sharing in Office365 SharePoint an...
Power Saturday 2019 F3 - Enabling external sharing in Office365 SharePoint an...
PowerSaturdayParis
 
Power Saturday 2019 E5 - Spice up your SharePoint lists with PowerApps forms
Power Saturday 2019 E5 - Spice up your SharePoint lists with PowerApps formsPower Saturday 2019 E5 - Spice up your SharePoint lists with PowerApps forms
Power Saturday 2019 E5 - Spice up your SharePoint lists with PowerApps forms
PowerSaturdayParis
 
Power Saturday 2019 - D6 - Design thinking and innovation accounting
Power Saturday 2019 - D6 - Design thinking and innovation accountingPower Saturday 2019 - D6 - Design thinking and innovation accounting
Power Saturday 2019 - D6 - Design thinking and innovation accounting
PowerSaturdayParis
 
Power Saturday 2019 - D4 - Doctor Fow best practices
Power Saturday 2019 - D4 - Doctor Fow best practicesPower Saturday 2019 - D4 - Doctor Fow best practices
Power Saturday 2019 - D4 - Doctor Fow best practices
PowerSaturdayParis
 
Power Saturday 2019 C4 - CALCULATE the Swiss Army Knife in DAX
Power Saturday 2019 C4 - CALCULATE the Swiss Army Knife in DAXPower Saturday 2019 C4 - CALCULATE the Swiss Army Knife in DAX
Power Saturday 2019 C4 - CALCULATE the Swiss Army Knife in DAX
PowerSaturdayParis
 
Power Saturday 2019 C1 - Power BI embedded
Power Saturday 2019 C1 - Power BI embeddedPower Saturday 2019 C1 - Power BI embedded
Power Saturday 2019 C1 - Power BI embedded
PowerSaturdayParis
 
Power Saturday 2019 D3 - Contruisons une solution de OnBoarding avec Graph et...
Power Saturday 2019 D3 - Contruisons une solution de OnBoarding avec Graph et...Power Saturday 2019 D3 - Contruisons une solution de OnBoarding avec Graph et...
Power Saturday 2019 D3 - Contruisons une solution de OnBoarding avec Graph et...
PowerSaturdayParis
 
Power Saturday 2019 D2 - Capture your store visit with PowerApps
Power Saturday 2019 D2 - Capture your store visit with PowerAppsPower Saturday 2019 D2 - Capture your store visit with PowerApps
Power Saturday 2019 D2 - Capture your store visit with PowerApps
PowerSaturdayParis
 
Power Saturday 2019 C6 - Power BI + Machine Learning = AutoML
Power Saturday 2019 C6 - Power BI + Machine Learning = AutoMLPower Saturday 2019 C6 - Power BI + Machine Learning = AutoML
Power Saturday 2019 C6 - Power BI + Machine Learning = AutoML
PowerSaturdayParis
 
Power Saturday 2019 A6 - les nouveautés SQL Server 2019 et le Big Data
Power Saturday 2019 A6 - les nouveautés SQL Server 2019 et le Big DataPower Saturday 2019 A6 - les nouveautés SQL Server 2019 et le Big Data
Power Saturday 2019 A6 - les nouveautés SQL Server 2019 et le Big Data
PowerSaturdayParis
 
Power Saturday 2019 A3 - Azure Data Factory deep dive
Power Saturday 2019 A3 - Azure Data Factory deep divePower Saturday 2019 A3 - Azure Data Factory deep dive
Power Saturday 2019 A3 - Azure Data Factory deep dive
PowerSaturdayParis
 
Power Saturday 2019 B4 - From relational to Multimodel Azure Cosmos DB
Power Saturday 2019 B4 - From relational to Multimodel Azure Cosmos DBPower Saturday 2019 B4 - From relational to Multimodel Azure Cosmos DB
Power Saturday 2019 B4 - From relational to Multimodel Azure Cosmos DB
PowerSaturdayParis
 
Power Saturday 2019 B3 - SQL Server dans Azure
Power Saturday 2019 B3 - SQL Server dans AzurePower Saturday 2019 B3 - SQL Server dans Azure
Power Saturday 2019 B3 - SQL Server dans Azure
PowerSaturdayParis
 
Power Saturday 2019 A5 - Azure Machine Learning par l'exemple
Power Saturday 2019 A5 - Azure Machine Learning par l'exemplePower Saturday 2019 A5 - Azure Machine Learning par l'exemple
Power Saturday 2019 A5 - Azure Machine Learning par l'exemple
PowerSaturdayParis
 
Power Saturday 2019 B5 - Mise en place d'une architecture data dans Azure, re...
Power Saturday 2019 B5 - Mise en place d'une architecture data dans Azure, re...Power Saturday 2019 B5 - Mise en place d'une architecture data dans Azure, re...
Power Saturday 2019 B5 - Mise en place d'une architecture data dans Azure, re...
PowerSaturdayParis
 

More from PowerSaturdayParis (20)

Power Saturday 2019 S2 - Version avancée de création de Teams en libre service
Power Saturday 2019 S2 - Version avancée de création de Teams en libre servicePower Saturday 2019 S2 - Version avancée de création de Teams en libre service
Power Saturday 2019 S2 - Version avancée de création de Teams en libre service
 
Power Saturday 2019 F2 - La combinaison de Dynamics 365 avec la Power Platform
Power Saturday 2019 F2 - La combinaison de Dynamics 365 avec la Power PlatformPower Saturday 2019 F2 - La combinaison de Dynamics 365 avec la Power Platform
Power Saturday 2019 F2 - La combinaison de Dynamics 365 avec la Power Platform
 
Power Saturday 2019 E6 - Day-to-day processes optimization in Office 365
Power Saturday 2019 E6 - Day-to-day processes optimization in Office 365Power Saturday 2019 E6 - Day-to-day processes optimization in Office 365
Power Saturday 2019 E6 - Day-to-day processes optimization in Office 365
 
Power Saturday 2019 E1 - Office 365 security
Power Saturday 2019 E1 - Office 365 securityPower Saturday 2019 E1 - Office 365 security
Power Saturday 2019 E1 - Office 365 security
 
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
Power Saturday 2019 F6 - I developed a SPFx solution, what to do next and how...
 
Power Saturday 2019 F3 - Enabling external sharing in Office365 SharePoint an...
Power Saturday 2019 F3 - Enabling external sharing in Office365 SharePoint an...Power Saturday 2019 F3 - Enabling external sharing in Office365 SharePoint an...
Power Saturday 2019 F3 - Enabling external sharing in Office365 SharePoint an...
 
Power Saturday 2019 E5 - Spice up your SharePoint lists with PowerApps forms
Power Saturday 2019 E5 - Spice up your SharePoint lists with PowerApps formsPower Saturday 2019 E5 - Spice up your SharePoint lists with PowerApps forms
Power Saturday 2019 E5 - Spice up your SharePoint lists with PowerApps forms
 
Power Saturday 2019 - D6 - Design thinking and innovation accounting
Power Saturday 2019 - D6 - Design thinking and innovation accountingPower Saturday 2019 - D6 - Design thinking and innovation accounting
Power Saturday 2019 - D6 - Design thinking and innovation accounting
 
Power Saturday 2019 - D4 - Doctor Fow best practices
Power Saturday 2019 - D4 - Doctor Fow best practicesPower Saturday 2019 - D4 - Doctor Fow best practices
Power Saturday 2019 - D4 - Doctor Fow best practices
 
Power Saturday 2019 C4 - CALCULATE the Swiss Army Knife in DAX
Power Saturday 2019 C4 - CALCULATE the Swiss Army Knife in DAXPower Saturday 2019 C4 - CALCULATE the Swiss Army Knife in DAX
Power Saturday 2019 C4 - CALCULATE the Swiss Army Knife in DAX
 
Power Saturday 2019 C1 - Power BI embedded
Power Saturday 2019 C1 - Power BI embeddedPower Saturday 2019 C1 - Power BI embedded
Power Saturday 2019 C1 - Power BI embedded
 
Power Saturday 2019 D3 - Contruisons une solution de OnBoarding avec Graph et...
Power Saturday 2019 D3 - Contruisons une solution de OnBoarding avec Graph et...Power Saturday 2019 D3 - Contruisons une solution de OnBoarding avec Graph et...
Power Saturday 2019 D3 - Contruisons une solution de OnBoarding avec Graph et...
 
Power Saturday 2019 D2 - Capture your store visit with PowerApps
Power Saturday 2019 D2 - Capture your store visit with PowerAppsPower Saturday 2019 D2 - Capture your store visit with PowerApps
Power Saturday 2019 D2 - Capture your store visit with PowerApps
 
Power Saturday 2019 C6 - Power BI + Machine Learning = AutoML
Power Saturday 2019 C6 - Power BI + Machine Learning = AutoMLPower Saturday 2019 C6 - Power BI + Machine Learning = AutoML
Power Saturday 2019 C6 - Power BI + Machine Learning = AutoML
 
Power Saturday 2019 A6 - les nouveautés SQL Server 2019 et le Big Data
Power Saturday 2019 A6 - les nouveautés SQL Server 2019 et le Big DataPower Saturday 2019 A6 - les nouveautés SQL Server 2019 et le Big Data
Power Saturday 2019 A6 - les nouveautés SQL Server 2019 et le Big Data
 
Power Saturday 2019 A3 - Azure Data Factory deep dive
Power Saturday 2019 A3 - Azure Data Factory deep divePower Saturday 2019 A3 - Azure Data Factory deep dive
Power Saturday 2019 A3 - Azure Data Factory deep dive
 
Power Saturday 2019 B4 - From relational to Multimodel Azure Cosmos DB
Power Saturday 2019 B4 - From relational to Multimodel Azure Cosmos DBPower Saturday 2019 B4 - From relational to Multimodel Azure Cosmos DB
Power Saturday 2019 B4 - From relational to Multimodel Azure Cosmos DB
 
Power Saturday 2019 B3 - SQL Server dans Azure
Power Saturday 2019 B3 - SQL Server dans AzurePower Saturday 2019 B3 - SQL Server dans Azure
Power Saturday 2019 B3 - SQL Server dans Azure
 
Power Saturday 2019 A5 - Azure Machine Learning par l'exemple
Power Saturday 2019 A5 - Azure Machine Learning par l'exemplePower Saturday 2019 A5 - Azure Machine Learning par l'exemple
Power Saturday 2019 A5 - Azure Machine Learning par l'exemple
 
Power Saturday 2019 B5 - Mise en place d'une architecture data dans Azure, re...
Power Saturday 2019 B5 - Mise en place d'une architecture data dans Azure, re...Power Saturday 2019 B5 - Mise en place d'une architecture data dans Azure, re...
Power Saturday 2019 B5 - Mise en place d'une architecture data dans Azure, re...
 

Recently uploaded

Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
Pravash Chandra Das
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
GDSC PJATK
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 

Recently uploaded (20)

Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 

Power Saturday 2019 B2 - Running stateful(set) applications like SQL Server in K8s

  • 1. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 Power Saturday Running Stateful(set) applications like SQL Server in K8s David Barbarin
  • 2. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 3 communautés pour partager, échanger et apprendre Power BI, Data, IA, Power Platform, Office 365, SharePoint, etc.
  • 3. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 Merci à nos sponsors http:// PowerSaturday.com Silver Bronze Gold
  • 4. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 The European SharePoint, Office 365 & Azure Conference 4 Days 2,500 Delegates 150+ Sessions 120 Speakers Use code ESPC19SPSP for 10% discount on all tickets www.sharepointeurope.com
  • 5. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 > whoami Architecture, Performance and high availability David Barbarin Principal Consultant @mikedavem David Barbarin Blog
  • 6. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 ❖Container, what’s that? ❖Orchestration to the rescue ❖Stateful(set) Agenda
  • 8. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 ❖Kubernetes Orchestration to the rescue ▪ 2003-2004: Birth of the Borg project ▪ 2013: From Borg to Omega ▪ 2014: Google introduces K8s ▪ 2015: The year of Kube v1.0 & CNCF K8s v1.0 ▪ 2016: K8s goes to mainstream (v1.2 -> 1.5) Helm / Minikube First Stateful support ▪ 2017: K8s v1.6 as a stabilization release RBAC(Beta),autoprovisioning StorageClass K8s v1.7 Local Storage support Containerd integration ECS (AWS), AKS (Azure), GKE (Google) K8s v1.11 -> v1.13 ▪ 2019: K8s v1.14 Windows as worker node in K8s
  • 9. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 Orchestration to the rescue POD Worker node POD Worker node Service - Type: loadbalancer, nodePort, clusterIP - Selector - Source port : target port - Endpoints Kube-proxy Master node Master node Master node API server etcd Scheduler Affinity / anti-affinity Labels Worker node resource availability Others … Controller manager Namespace controller Pod controller Service controller … DESIRED STATE kubelet kubelet health Control plane
  • 10. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 ❖Stateful = Dealing with persistence Stateful(set) Pod
  • 11. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 ❖Stateful = Dealing with persistence Stateful(set) /var/opt/mssql Pod Persistent volume (PV) ▪ - Provisioner ▪ - StorageClass ▪ - Options ▪ - Reclaim policy ▪ - Static vs Dynamic provisioning Persistent volume claim (PVC) ▪ - Access mode = RWO, ROM, RWM ▪ - Storage size /var/opt/mssql Pod ▪ Capabilities depend on storage plugin / providers ▪ Internal (in-tree) / (out-of-tree) external provisioners ▪ Access mode = RWO / ROM / RWM ▪ ReclaimPolicy = Retained / Delete
  • 13. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 ❖Why StatefulSet? Stateful(set) Worker node Worker node Worker node MSSQL-1 MSSQL-2 MSSQL-3 Replica Replica Replica ReplicaSet Replica controller Deployment Kubectl scale <replicaset> --replicas=3
  • 14. @ClubPowerBI @aosComm @GUSS_FRANCEPower Saturday 2019 ❖Why StatefulSet? Stateful(set) Worker node Worker node Worker node MSSQL-1 MSSQL-2 MSSQL-3 Replica Replica Replica ReplicaSet Replica controller Deployment Kubectl scale <replicaset> --replicas=3