SlideShare a Scribd company logo
1 of 16
Download to read offline
@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 cookbookPowerSaturdayParis
 
Power Saturday 2019 E3 - SharePoint unexplained
Power Saturday 2019 E3 - SharePoint unexplainedPower Saturday 2019 E3 - SharePoint unexplained
Power Saturday 2019 E3 - SharePoint unexplainedPowerSaturdayParis
 
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 developerPowerSaturdayParis
 
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 monitoringPowerSaturdayParis
 
Query Anything, Anywhere with Kubernetes
Query Anything, Anywhere with KubernetesQuery Anything, Anywhere with Kubernetes
Query Anything, Anywhere with KubernetesAlluxio, 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 AWSAmazon 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/dayKarthik 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 KeynoteStreamNative
 
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 SummitAmazon 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
 
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 2019Kumton 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 DBYugabyteDB
 
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 AWSAmazon 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 SummitAmazon 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 101Amazon 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 diveRiccardo 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 SFAmazon 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 servicePowerSaturdayParis
 
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 PlatformPowerSaturdayParis
 
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 365PowerSaturdayParis
 
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 securityPowerSaturdayParis
 
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 formsPowerSaturdayParis
 
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 accountingPowerSaturdayParis
 
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 practicesPowerSaturdayParis
 
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 DAXPowerSaturdayParis
 
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 embeddedPowerSaturdayParis
 
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 PowerAppsPowerSaturdayParis
 
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 = AutoMLPowerSaturdayParis
 
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 DataPowerSaturdayParis
 
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 divePowerSaturdayParis
 
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 DBPowerSaturdayParis
 
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 AzurePowerSaturdayParis
 
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'exemplePowerSaturdayParis
 
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

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 

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