SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
Scaling docker @OVH
Timothée GERMAIN devops@OVH
From 20 to 2500 running containers
About me
Timothée GERMAIN
Devops for Containers team @ OVH since 2015
Work with containers since 2014
Twitter : DarkNihilius1
Docker @ OVH
● 8 clusters
○ Internal production : 5
○ External beta/gamma : 2
○ Preproduction : 1
● 2500 running containers
● 800 Hosts
● 3000 cpu cores
● 12TB RAM
● 2 docker registry (internal & external)
● 100s of deployment per day
● 5 people
The beginning : 1 - 20 containers
Everything fit on 1 host
+ Easy to deploy docker run
+ Easy to build docker build
+ Easy to debug docker exec/logs/stats
- No high availability
- Not scalable
Scaling up : +20 containers, 1 team
You need an orchestrator :
● Docker swarm (Docker inc.)
● Mesos & Marathon (Apache Software Foundation)
● Kubernetes (Google then CNCF)
Don’t fit on 1 host ?
Need high availability ?
Mesos & marathon in 60 seconds
Linux kernel : provide abstraction of
hardware
Linux kernel
Your application
Linux scheduler
Scheduler : say which application run
when with which resources
Mesos & marathon in 60 seconds
Mesos : provide abstraction of
multiple hosts
Mesos
Your (Docker)
application
Framework
Framework (Marathon) : say which
application run when with which resources
Needs :
● Isolate team/client
● Be cost efficient, mutualize what we can
Scaling up : 20+ containers, 2+ team
More team !
Scaling up : 20+ containers, 2+ team
Marathon : no multitenancy out of the box
The solutions we try :
1) One marathon per team
2) One marathon with logical isolation (middleware)
3) One mesos & marathon per team
Multitenancy : One marathon per team
+ Good isolation
+ Mesos mutualization
+ Fair blast radius
- Does not scale well
Mesos
Marathon B
Marathon CMarathon A
Multitenancy : One marathon and logical isolation
+ Scale
+ Give us control on user input
- Less isolation
- Lots of maintenance
- Hard to keep up to date with
marathon API
- Big blast radius
Mesos
Marathon
Middleware
Multitenancy : One marathon & mesos cluster per team
+ Scale even better
+ Little blast radius
+ Best isolation
+ Modular
- Less/no mutualisation
- Costly
- Lot of parts to deploy and
maintain
Mesos B
Marathon B
Mesos A
Marathon A
Deploy mesos and marathon
using mesos and marathon
Lot of parts to deploy and
maintain ?
we already have a tool for that :
Mesos and Marathon !
Mesos B
Marathon B
Mesos A
Marathon A
Mesos
Admin
Marathon
Admin
Questions ?
Thanks for your time
Log and metrics : 1 - 20 containers
Docker stats
Docker logs
Direct calls on docker daemon
Log and metrics : +20 containers, 2+ team
Not docker logs nor docker stats

Contenu connexe

En vedette

Resultado Final do Concurso de Bom Sucesso
Resultado Final do Concurso de Bom Sucesso Resultado Final do Concurso de Bom Sucesso
Resultado Final do Concurso de Bom Sucesso Joao Rivonaldo Silva
 
Exames médicos valores - União Sindical
Exames médicos   valores - União SindicalExames médicos   valores - União Sindical
Exames médicos valores - União Sindicalsinteimp
 
2500 years of learning theory: The good, the bad & the ugly - Donald Clark
2500 years of learning theory: The good, the bad & the ugly - Donald Clark2500 years of learning theory: The good, the bad & the ugly - Donald Clark
2500 years of learning theory: The good, the bad & the ugly - Donald ClarkLearning Pool Ltd
 
Labor Market and Salary Survey in Russia
Labor Market and Salary Survey in RussiaLabor Market and Salary Survey in Russia
Labor Market and Salary Survey in RussiaAwara Direct Search
 
Sarah Palin\'s Shopping Spree
Sarah Palin\'s Shopping SpreeSarah Palin\'s Shopping Spree
Sarah Palin\'s Shopping Spreecoolstuff
 
Lineadeltiempodelacomputacion Iiuac
Lineadeltiempodelacomputacion IiuacLineadeltiempodelacomputacion Iiuac
Lineadeltiempodelacomputacion IiuacOscorp
 
Atelier (re)Commencez votre plan média
Atelier (re)Commencez votre plan média Atelier (re)Commencez votre plan média
Atelier (re)Commencez votre plan média Lucie PELLICIER
 
Clase 4 Plan De Mercado Y Promociones Febrero
Clase 4 Plan De Mercado Y Promociones  FebreroClase 4 Plan De Mercado Y Promociones  Febrero
Clase 4 Plan De Mercado Y Promociones Febrerodeisy torrico
 
Priceliste celine infrapower infrared heater europe
Priceliste celine infrapower infrared heater europePriceliste celine infrapower infrared heater europe
Priceliste celine infrapower infrared heater europeMarina Infocenter
 
Schaarheftafels van Gruse
Schaarheftafels van GruseSchaarheftafels van Gruse
Schaarheftafels van GrusePeter Koelewijn
 
Contabilidade basica peps ueps
Contabilidade basica peps uepsContabilidade basica peps ueps
Contabilidade basica peps uepssimuladocontabil
 
INTRODUCCION A LA INGENIERIA
INTRODUCCION A LA INGENIERIAINTRODUCCION A LA INGENIERIA
INTRODUCCION A LA INGENIERIAOscorp
 
Notas Analisis Estados Financieros I-2011
Notas Analisis Estados Financieros I-2011Notas Analisis Estados Financieros I-2011
Notas Analisis Estados Financieros I-2011emperatrizazul
 
Filea9d2
Filea9d2Filea9d2
Filea9d2freez3r
 

En vedette (19)

Apresentacao
ApresentacaoApresentacao
Apresentacao
 
Resultado Final do Concurso de Bom Sucesso
Resultado Final do Concurso de Bom Sucesso Resultado Final do Concurso de Bom Sucesso
Resultado Final do Concurso de Bom Sucesso
 
Exames médicos valores - União Sindical
Exames médicos   valores - União SindicalExames médicos   valores - União Sindical
Exames médicos valores - União Sindical
 
Acoples rapidos
Acoples rapidosAcoples rapidos
Acoples rapidos
 
Option Strategies
Option StrategiesOption Strategies
Option Strategies
 
2500 years of learning theory: The good, the bad & the ugly - Donald Clark
2500 years of learning theory: The good, the bad & the ugly - Donald Clark2500 years of learning theory: The good, the bad & the ugly - Donald Clark
2500 years of learning theory: The good, the bad & the ugly - Donald Clark
 
Labor Market and Salary Survey in Russia
Labor Market and Salary Survey in RussiaLabor Market and Salary Survey in Russia
Labor Market and Salary Survey in Russia
 
Sarah Palin\'s Shopping Spree
Sarah Palin\'s Shopping SpreeSarah Palin\'s Shopping Spree
Sarah Palin\'s Shopping Spree
 
Catálogo de delícias
Catálogo de delíciasCatálogo de delícias
Catálogo de delícias
 
Lineadeltiempodelacomputacion Iiuac
Lineadeltiempodelacomputacion IiuacLineadeltiempodelacomputacion Iiuac
Lineadeltiempodelacomputacion Iiuac
 
Atelier (re)Commencez votre plan média
Atelier (re)Commencez votre plan média Atelier (re)Commencez votre plan média
Atelier (re)Commencez votre plan média
 
Clase 4 Plan De Mercado Y Promociones Febrero
Clase 4 Plan De Mercado Y Promociones  FebreroClase 4 Plan De Mercado Y Promociones  Febrero
Clase 4 Plan De Mercado Y Promociones Febrero
 
Priceliste celine infrapower infrared heater europe
Priceliste celine infrapower infrared heater europePriceliste celine infrapower infrared heater europe
Priceliste celine infrapower infrared heater europe
 
Schaarheftafels van Gruse
Schaarheftafels van GruseSchaarheftafels van Gruse
Schaarheftafels van Gruse
 
Contabilidade basica peps ueps
Contabilidade basica peps uepsContabilidade basica peps ueps
Contabilidade basica peps ueps
 
INTRODUCCION A LA INGENIERIA
INTRODUCCION A LA INGENIERIAINTRODUCCION A LA INGENIERIA
INTRODUCCION A LA INGENIERIA
 
Notas Analisis Estados Financieros I-2011
Notas Analisis Estados Financieros I-2011Notas Analisis Estados Financieros I-2011
Notas Analisis Estados Financieros I-2011
 
Filea9d2
Filea9d2Filea9d2
Filea9d2
 
Modelos de transporte
Modelos de transporteModelos de transporte
Modelos de transporte
 

Similaire à Scaling docker containers at OVH from 20 to 2500 with Mesos and Marathon

Prometheus in Practice: High Availability with Thanos (DevOpsDays Edinburgh 2...
Prometheus in Practice: High Availability with Thanos (DevOpsDays Edinburgh 2...Prometheus in Practice: High Availability with Thanos (DevOpsDays Edinburgh 2...
Prometheus in Practice: High Availability with Thanos (DevOpsDays Edinburgh 2...Thomas Riley
 
Kubernetes Observability with Prometheus by Example
Kubernetes Observability with Prometheus by ExampleKubernetes Observability with Prometheus by Example
Kubernetes Observability with Prometheus by ExampleThomas Riley
 
Modern Elastic Datacenter Architecture
Modern Elastic Datacenter ArchitectureModern Elastic Datacenter Architecture
Modern Elastic Datacenter ArchitectureWeston Bassler
 
You got a couple Microservices, now what? - Adding SRE to DevOps
You got a couple Microservices, now what?  - Adding SRE to DevOpsYou got a couple Microservices, now what?  - Adding SRE to DevOps
You got a couple Microservices, now what? - Adding SRE to DevOpsGonzalo Maldonado
 
Prometheus - basics
Prometheus - basicsPrometheus - basics
Prometheus - basicsJuraj Hantak
 
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014Amazon Web Services
 
Rackspace::Solve SFO - Solve(Scale) Featuring Docker CEO Ben Golub
Rackspace::Solve SFO - Solve(Scale) Featuring Docker CEO Ben GolubRackspace::Solve SFO - Solve(Scale) Featuring Docker CEO Ben Golub
Rackspace::Solve SFO - Solve(Scale) Featuring Docker CEO Ben GolubRackspace
 
Disenchantment: Netflix Titus, Its Feisty Team, and Daemons
Disenchantment: Netflix Titus, Its Feisty Team, and DaemonsDisenchantment: Netflix Titus, Its Feisty Team, and Daemons
Disenchantment: Netflix Titus, Its Feisty Team, and DaemonsC4Media
 
CNCF Meetup Part 1_ Thanos and Prometheus KT.pdf
CNCF Meetup Part 1_ Thanos and Prometheus KT.pdfCNCF Meetup Part 1_ Thanos and Prometheus KT.pdf
CNCF Meetup Part 1_ Thanos and Prometheus KT.pdfSebastien Thomas
 
Series of Unfortunate Netflix Container Events - QConNYC17
Series of Unfortunate Netflix Container Events - QConNYC17Series of Unfortunate Netflix Container Events - QConNYC17
Series of Unfortunate Netflix Container Events - QConNYC17aspyker
 
Containing the world with Docker
Containing the world with DockerContaining the world with Docker
Containing the world with DockerGiuseppe Piccolo
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017Patrick Chanezon
 
Docker volume-isolator-in-mesos
Docker volume-isolator-in-mesosDocker volume-isolator-in-mesos
Docker volume-isolator-in-mesosGuangya Liu
 
Docker introduction & benefits
Docker introduction & benefitsDocker introduction & benefits
Docker introduction & benefitsAmit Manwade
 
Container orchestration: the cold war - Giulio De Donato - Codemotion Rome 2017
Container orchestration: the cold war - Giulio De Donato - Codemotion Rome 2017Container orchestration: the cold war - Giulio De Donato - Codemotion Rome 2017
Container orchestration: the cold war - Giulio De Donato - Codemotion Rome 2017Codemotion
 
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...Ambassador Labs
 
Thinking in Terms of a Data Center Operating System
Thinking in Terms of a Data Center Operating SystemThinking in Terms of a Data Center Operating System
Thinking in Terms of a Data Center Operating SystemWeston Bassler
 

Similaire à Scaling docker containers at OVH from 20 to 2500 with Mesos and Marathon (20)

Prometheus in Practice: High Availability with Thanos (DevOpsDays Edinburgh 2...
Prometheus in Practice: High Availability with Thanos (DevOpsDays Edinburgh 2...Prometheus in Practice: High Availability with Thanos (DevOpsDays Edinburgh 2...
Prometheus in Practice: High Availability with Thanos (DevOpsDays Edinburgh 2...
 
Docker in prod
Docker in prodDocker in prod
Docker in prod
 
Kubernetes Observability with Prometheus by Example
Kubernetes Observability with Prometheus by ExampleKubernetes Observability with Prometheus by Example
Kubernetes Observability with Prometheus by Example
 
Modern Elastic Datacenter Architecture
Modern Elastic Datacenter ArchitectureModern Elastic Datacenter Architecture
Modern Elastic Datacenter Architecture
 
You got a couple Microservices, now what? - Adding SRE to DevOps
You got a couple Microservices, now what?  - Adding SRE to DevOpsYou got a couple Microservices, now what?  - Adding SRE to DevOps
You got a couple Microservices, now what? - Adding SRE to DevOps
 
Prometheus - basics
Prometheus - basicsPrometheus - basics
Prometheus - basics
 
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014
 
Rackspace::Solve SFO - Solve(Scale) Featuring Docker CEO Ben Golub
Rackspace::Solve SFO - Solve(Scale) Featuring Docker CEO Ben GolubRackspace::Solve SFO - Solve(Scale) Featuring Docker CEO Ben Golub
Rackspace::Solve SFO - Solve(Scale) Featuring Docker CEO Ben Golub
 
Disenchantment: Netflix Titus, Its Feisty Team, and Daemons
Disenchantment: Netflix Titus, Its Feisty Team, and DaemonsDisenchantment: Netflix Titus, Its Feisty Team, and Daemons
Disenchantment: Netflix Titus, Its Feisty Team, and Daemons
 
CNCF Meetup Part 1_ Thanos and Prometheus KT.pdf
CNCF Meetup Part 1_ Thanos and Prometheus KT.pdfCNCF Meetup Part 1_ Thanos and Prometheus KT.pdf
CNCF Meetup Part 1_ Thanos and Prometheus KT.pdf
 
Series of Unfortunate Netflix Container Events - QConNYC17
Series of Unfortunate Netflix Container Events - QConNYC17Series of Unfortunate Netflix Container Events - QConNYC17
Series of Unfortunate Netflix Container Events - QConNYC17
 
Containing the world with Docker
Containing the world with DockerContaining the world with Docker
Containing the world with Docker
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017
 
Docker volume-isolator-in-mesos
Docker volume-isolator-in-mesosDocker volume-isolator-in-mesos
Docker volume-isolator-in-mesos
 
Docker introduction & benefits
Docker introduction & benefitsDocker introduction & benefits
Docker introduction & benefits
 
Container orchestration: the cold war - Giulio De Donato - Codemotion Rome 2017
Container orchestration: the cold war - Giulio De Donato - Codemotion Rome 2017Container orchestration: the cold war - Giulio De Donato - Codemotion Rome 2017
Container orchestration: the cold war - Giulio De Donato - Codemotion Rome 2017
 
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
 
Docker & Daily DevOps
Docker & Daily DevOpsDocker & Daily DevOps
Docker & Daily DevOps
 
Docker and-daily-devops
Docker and-daily-devopsDocker and-daily-devops
Docker and-daily-devops
 
Thinking in Terms of a Data Center Operating System
Thinking in Terms of a Data Center Operating SystemThinking in Terms of a Data Center Operating System
Thinking in Terms of a Data Center Operating System
 

Dernier

Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 

Dernier (20)

Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 

Scaling docker containers at OVH from 20 to 2500 with Mesos and Marathon

  • 1. Scaling docker @OVH Timothée GERMAIN devops@OVH From 20 to 2500 running containers
  • 2. About me Timothée GERMAIN Devops for Containers team @ OVH since 2015 Work with containers since 2014 Twitter : DarkNihilius1
  • 3. Docker @ OVH ● 8 clusters ○ Internal production : 5 ○ External beta/gamma : 2 ○ Preproduction : 1 ● 2500 running containers ● 800 Hosts ● 3000 cpu cores ● 12TB RAM ● 2 docker registry (internal & external) ● 100s of deployment per day ● 5 people
  • 4. The beginning : 1 - 20 containers Everything fit on 1 host + Easy to deploy docker run + Easy to build docker build + Easy to debug docker exec/logs/stats - No high availability - Not scalable
  • 5. Scaling up : +20 containers, 1 team You need an orchestrator : ● Docker swarm (Docker inc.) ● Mesos & Marathon (Apache Software Foundation) ● Kubernetes (Google then CNCF) Don’t fit on 1 host ? Need high availability ?
  • 6. Mesos & marathon in 60 seconds Linux kernel : provide abstraction of hardware Linux kernel Your application Linux scheduler Scheduler : say which application run when with which resources
  • 7. Mesos & marathon in 60 seconds Mesos : provide abstraction of multiple hosts Mesos Your (Docker) application Framework Framework (Marathon) : say which application run when with which resources
  • 8. Needs : ● Isolate team/client ● Be cost efficient, mutualize what we can Scaling up : 20+ containers, 2+ team More team !
  • 9. Scaling up : 20+ containers, 2+ team Marathon : no multitenancy out of the box The solutions we try : 1) One marathon per team 2) One marathon with logical isolation (middleware) 3) One mesos & marathon per team
  • 10. Multitenancy : One marathon per team + Good isolation + Mesos mutualization + Fair blast radius - Does not scale well Mesos Marathon B Marathon CMarathon A
  • 11. Multitenancy : One marathon and logical isolation + Scale + Give us control on user input - Less isolation - Lots of maintenance - Hard to keep up to date with marathon API - Big blast radius Mesos Marathon Middleware
  • 12. Multitenancy : One marathon & mesos cluster per team + Scale even better + Little blast radius + Best isolation + Modular - Less/no mutualisation - Costly - Lot of parts to deploy and maintain Mesos B Marathon B Mesos A Marathon A
  • 13. Deploy mesos and marathon using mesos and marathon Lot of parts to deploy and maintain ? we already have a tool for that : Mesos and Marathon ! Mesos B Marathon B Mesos A Marathon A Mesos Admin Marathon Admin
  • 15. Log and metrics : 1 - 20 containers Docker stats Docker logs Direct calls on docker daemon
  • 16. Log and metrics : +20 containers, 2+ team Not docker logs nor docker stats