SlideShare a Scribd company logo
1 of 27
Download to read offline
© 2015 Mesosphere, Inc. All Rights Reserved.
© 2015 Mesosphere, Inc. All Rights Reserved. 2
Kubernetes, Mesos, DCOS
Sergiusz Urbaniak, Stefan Schimanski
© 2015 Mesosphere, Inc. All Rights Reserved. 3
Engineers at: Mesosphere
Working on: - Kubernetes-Mesos (Open Source & fully upstream)
- DCOS integration
Who are we?
James Karl Tyler Stefan Sergiusz
© 2015 Mesosphere, Inc. All Rights Reserved. 4
The company behind:
● Apache Mesos (https://mesos.apache.org/)
A distributed systems kernel.
● Marathon (https://mesosphere.github.io/marathon/)
An Apache Mesos framework
for long-running applications.
● Chronos (http://mesos.github.io/chronos/)
A distributed cron replacement.
Who/What is Mesosphere?
DCOS
(https://mesosphere.com/)
A data center operating system.
© 2015 Mesosphere, Inc. All Rights Reserved. 5
The challenge: Warehouse Computing
Source: https://www.google.com/about/careers/teams/ops-support/data-center/
© 2015 Mesosphere, Inc. All Rights Reserved. 6
The reality today: Static Partitioning
Source: https://commons.wikimedia.org/wiki/File:Cern_datacenter.jpg
© 2015 Mesosphere, Inc. All Rights Reserved.
single PC
7
Single Computer
CPUMemory Storage
Kernel → Linux, Darwin, Windows, FreeBSD, …
init.d → SysV, systemd, ...
cron tty MySQL
docker-
compose
Container #1
Container #2
Container #3
© 2015 Mesosphere, Inc. All Rights Reserved.
>1000 PCs
8
DCOS - Data Center Operating System
CPUMemory Storage
Kernel → Apache Mesos
init.d → Marathon
Chronos
dcos
CLI
Cassandra
Riak, ...
Kubernetes
Pod #1
Pod #2
Pod #3
© 2015 Mesosphere, Inc. All Rights Reserved. 9
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
ports:
- port: 8000
targetPort: 80
protocol: TCP
selector:
app: nginx
Kubernetes - the Data Center Userland API
Pod Service
© 2015 Mesosphere, Inc. All Rights Reserved. 10
The challenge: Warehouse Computing
Source: https://www.google.com/about/careers/teams/ops-support/data-center/
© 2015 Mesosphere, Inc. All Rights Reserved. 11
Placeholder - DCOS Services
© 2015 Mesosphere, Inc. All Rights Reserved. 12
© 2015 Mesosphere, Inc. All Rights Reserved. 13
$ dcos package install kubernetes
$ dcos kubectl create -f nginx.yml
pods/nginx
$ dcos kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx 1/1 Running 0 1m
Demo:
Install
Kubernetes
on DCOS
nginx.yml:
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
© 2015 Mesosphere, Inc. All Rights Reserved. 14
Kubernetes by Google
- Great for backend developers
DCOS by Mesosphere
- Great for datacenter operators
Mesos by Apache
- Great for low-level framework developers
The Stack
© 2015 Mesosphere, Inc. All Rights Reserved. 15
Mesos
Datacenter Kernel
- Cluster Resource Management
- Scheduling
- Process Isolation
- Task/Container Execution
© 2015 Mesosphere, Inc. All Rights Reserved. 16
Mesos
Architecture
FrameworkMesos
ZooKeeper
Node Node Node
Executors
Agent Agent Agent
Tasks Tasks
Executors
Tasks
Executors
SDK for Mesos:
HTTP/Protobuf API
© 2015 Mesosphere, Inc. All Rights Reserved. 17
Kubernetes
Userland API and System Services
- High Level Application Abstractions
- Cluster Containers Orchestration
© 2015 Mesosphere, Inc. All Rights Reserved. 18
Kubernetes
on Mesos
Architecture
Mesos
Masters
EtcdZooKeeper
Node Node Node
K8s Executor
Mesos Agent Mesos Agent Mesos Agent
Pods Pods
K8s Executor
Pods
K8s Executor
K8s Master
API Server
Scheduler
Controllers
© 2015 Mesosphere, Inc. All Rights Reserved. 19
Behind the
scenes ...
K8s Master
API Server
Scheduler
Controllers
$ dcos kubectl get pods
NAME READY STATUS RESTARTS
nginx 1/1 Running 0
GET /service/kubernetes/api/v1/pods
{
"kind": "List",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"name": "kube-dns-v9-ejq02",
"generateName": "kube-dns-v9-",
...
© 2015 Mesosphere, Inc. All Rights Reserved. 20
DCOS
- Package Repo
- Terminal Client
- Config Service
- Kernel
- Init System
- Dashboard
- Service Discovery
- Control Plane
- Public & Private Zones
Datacenter Operating System
© 2015 Mesosphere, Inc. All Rights Reserved. 21
https://mesosphere.com/amazon/Try it yourself
© 2015 Mesosphere, Inc. All Rights Reserved. 22
© 2015 Mesosphere, Inc. All Rights Reserved. 23
Kubernetes on DCOS:
http://kubernetes.io/v1.1/docs/getting-started-guides/dcos.html
Kubernetes-Mesos on your Laptop:
http://kubernetes.io/v1.1/docs/getting-started-guides/mesos-docker.html
DCOS:
https://mesosphere.com/product/
Github:
https://github.com/kubernetes/kubernetes/tree/master/contrib/mesos
Links
© 2015 Mesosphere, Inc. All Rights Reserved. 24
v0.7.0-v1.1.1 today
● Kubernetes 1.1
● 100% conformant docker-compose cluster
● major scheduler & executor refactoring
● lots of bugfixes
v0.7.1-v1.1.x Dec’ish
● resource roles ⇒ slave_public support
MVP v0.8.0-v1.1.x Feb’ish
● upgrade story, TLS support, no container leaks
● known and documented deficiencies
...
Prod Ready v1.0.0-v1.x.y
● proven scaling to e.g. 1000 nodes, at least as good as
upstream
● conformant DCOS package
Roadmap
© 2015 Mesosphere, Inc. All Rights Reserved. 25
Of course: we are hiring!
© 2015 Mesosphere, Inc. All Rights Reserved. 26
Kubernetes on DCOS:
http://kubernetes.io/v1.1/docs/getting-started-guides/dcos.html
Kubernetes-Mesos on your Laptop:
http://kubernetes.io/v1.1/docs/getting-started-guides/mesos-docker.html
DCOS:
https://mesosphere.com/product/
Github:
https://github.com/kubernetes/kubernetes/tree/master/contrib/mesos
Links
© 2015 Mesosphere, Inc. All Rights Reserved.

More Related Content

What's hot

What's hot (20)

Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache Mesos
 
Cluster Networking with Docker
Cluster Networking with DockerCluster Networking with Docker
Cluster Networking with Docker
 
Mesos ♥ Docker
Mesos ♥ DockerMesos ♥ Docker
Mesos ♥ Docker
 
Cloud Surfing: Kubernetes on Mesos
Cloud Surfing: Kubernetes on MesosCloud Surfing: Kubernetes on Mesos
Cloud Surfing: Kubernetes on Mesos
 
Building Web Scale Apps with Docker and Mesos by Alex Rukletsov (Mesosphere)
Building Web Scale Apps with Docker and Mesos by Alex Rukletsov (Mesosphere)Building Web Scale Apps with Docker and Mesos by Alex Rukletsov (Mesosphere)
Building Web Scale Apps with Docker and Mesos by Alex Rukletsov (Mesosphere)
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Musings on Mesos: Docker, Kubernetes, and Beyond.
Musings on Mesos: Docker, Kubernetes, and Beyond.Musings on Mesos: Docker, Kubernetes, and Beyond.
Musings on Mesos: Docker, Kubernetes, and Beyond.
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Container Orchestration @Docker Meetup Hamburg
Container Orchestration @Docker Meetup HamburgContainer Orchestration @Docker Meetup Hamburg
Container Orchestration @Docker Meetup Hamburg
 
Kubernetes in 15 minutes
Kubernetes in 15 minutesKubernetes in 15 minutes
Kubernetes in 15 minutes
 
Container orchestration
Container orchestrationContainer orchestration
Container orchestration
 
Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...
Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...
Docker at Shopify: From This-Looks-Fun to Production by Simon Eskildsen (Shop...
 
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes MeetupKubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
 
Container Days Boston - Kubernetes in production
Container Days Boston - Kubernetes in productionContainer Days Boston - Kubernetes in production
Container Days Boston - Kubernetes in production
 
Building and deploying a distributed application with Docker, Mesos and Marathon
Building and deploying a distributed application with Docker, Mesos and MarathonBuilding and deploying a distributed application with Docker, Mesos and Marathon
Building and deploying a distributed application with Docker, Mesos and Marathon
 
KubeCon CloudNativeCon 2016 Seattle - a report
KubeCon CloudNativeCon 2016 Seattle - a reportKubeCon CloudNativeCon 2016 Seattle - a report
KubeCon CloudNativeCon 2016 Seattle - a report
 
Deploying Containers in Production and at Scale
Deploying Containers in Production and at ScaleDeploying Containers in Production and at Scale
Deploying Containers in Production and at Scale
 
Kubernetes 101 and Fun
Kubernetes 101 and FunKubernetes 101 and Fun
Kubernetes 101 and Fun
 
HA Kubernetes on Mesos / Marathon
HA Kubernetes on Mesos / MarathonHA Kubernetes on Mesos / Marathon
HA Kubernetes on Mesos / Marathon
 
Philipp Krenn, Elastic. From Containers to Kubernetes Operators
Philipp Krenn, Elastic. From Containers to Kubernetes OperatorsPhilipp Krenn, Elastic. From Containers to Kubernetes Operators
Philipp Krenn, Elastic. From Containers to Kubernetes Operators
 

Viewers also liked

Viewers also liked (20)

Nebulaworks Docker Overview 09-22-2015
Nebulaworks Docker Overview 09-22-2015Nebulaworks Docker Overview 09-22-2015
Nebulaworks Docker Overview 09-22-2015
 
DEPLOYING A DOCKERIZED DISTRIBUTED APPLICATION IN MESOS
DEPLOYING A DOCKERIZED DISTRIBUTED APPLICATION IN MESOSDEPLOYING A DOCKERIZED DISTRIBUTED APPLICATION IN MESOS
DEPLOYING A DOCKERIZED DISTRIBUTED APPLICATION IN MESOS
 
Cloud Computing, Docker, Mesos, DCOS, Container, Big Data, Paas
Cloud Computing, Docker, Mesos, DCOS, Container, Big Data, PaasCloud Computing, Docker, Mesos, DCOS, Container, Big Data, Paas
Cloud Computing, Docker, Mesos, DCOS, Container, Big Data, Paas
 
Paris Container Day 2016 : Etcd - overview and future (CoreOS)
Paris Container Day 2016 : Etcd - overview and future (CoreOS)Paris Container Day 2016 : Etcd - overview and future (CoreOS)
Paris Container Day 2016 : Etcd - overview and future (CoreOS)
 
Easy Docker Deployments with Mesosphere DCOS on Azure
Easy Docker Deployments with Mesosphere DCOS on AzureEasy Docker Deployments with Mesosphere DCOS on Azure
Easy Docker Deployments with Mesosphere DCOS on Azure
 
Federated mesos clusters for global data center designs
Federated mesos clusters for global data center designsFederated mesos clusters for global data center designs
Federated mesos clusters for global data center designs
 
Elastic etcd
Elastic etcdElastic etcd
Elastic etcd
 
Modernizing Applications with Microservices
Modernizing Applications with MicroservicesModernizing Applications with Microservices
Modernizing Applications with Microservices
 
Xebicon'16 : Comment j'ai piloté mon train ?
Xebicon'16 : Comment j'ai piloté mon train ?Xebicon'16 : Comment j'ai piloté mon train ?
Xebicon'16 : Comment j'ai piloté mon train ?
 
XebiCon'16 : Thiga - Vendre un produit en SaaS - 5 techniques de Pricing !
XebiCon'16 : Thiga - Vendre un produit en SaaS - 5 techniques de Pricing !XebiCon'16 : Thiga - Vendre un produit en SaaS - 5 techniques de Pricing !
XebiCon'16 : Thiga - Vendre un produit en SaaS - 5 techniques de Pricing !
 
Hyperscale Computing, Enterprise Agility with Mesosphere
Hyperscale Computing, Enterprise Agility with MesosphereHyperscale Computing, Enterprise Agility with Mesosphere
Hyperscale Computing, Enterprise Agility with Mesosphere
 
Mesos vs kubernetes comparison
Mesos vs kubernetes comparisonMesos vs kubernetes comparison
Mesos vs kubernetes comparison
 
Deploying WSO2 Middleware on Kubernetes
Deploying WSO2 Middleware on KubernetesDeploying WSO2 Middleware on Kubernetes
Deploying WSO2 Middleware on Kubernetes
 
XebiCon'16 : PMU et le Big Data - d'une approche mono projet à une démarche e...
XebiCon'16 : PMU et le Big Data - d'une approche mono projet à une démarche e...XebiCon'16 : PMU et le Big Data - d'une approche mono projet à une démarche e...
XebiCon'16 : PMU et le Big Data - d'une approche mono projet à une démarche e...
 
Kubernetes Architecture and Introduction
Kubernetes Architecture and IntroductionKubernetes Architecture and Introduction
Kubernetes Architecture and Introduction
 
XebiCon'16 : Orange - Transformation DevOps, les conteneurs sont vos alliés !
XebiCon'16 : Orange - Transformation DevOps, les conteneurs sont vos alliés !XebiCon'16 : Orange - Transformation DevOps, les conteneurs sont vos alliés !
XebiCon'16 : Orange - Transformation DevOps, les conteneurs sont vos alliés !
 
Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache Mesos
 
Using machine learning to determine drivers of bounce and conversion
Using machine learning to determine drivers of bounce and conversionUsing machine learning to determine drivers of bounce and conversion
Using machine learning to determine drivers of bounce and conversion
 
Architecting an Highly Available and Scalable WordPress Site in AWS
Architecting an Highly Available and Scalable WordPress Site in AWS Architecting an Highly Available and Scalable WordPress Site in AWS
Architecting an Highly Available and Scalable WordPress Site in AWS
 
Container Orchestration Wars (Micro Edition)
Container Orchestration Wars (Micro Edition)Container Orchestration Wars (Micro Edition)
Container Orchestration Wars (Micro Edition)
 

Similar to Kubernetes on Top of Mesos on Top of DCOS

Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
QAware GmbH
 

Similar to Kubernetes on Top of Mesos on Top of DCOS (20)

Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
Kubernetes One-Click Deployment: Hands-on Workshop (Munich)
 
Episode 2: Deploying Kubernetes at Scale
Episode 2: Deploying Kubernetes at ScaleEpisode 2: Deploying Kubernetes at Scale
Episode 2: Deploying Kubernetes at Scale
 
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of KubernetesDevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
DevOps vs. Site Reliability Engineering (SRE) in Age of Kubernetes
 
Operating Kubernetes at Scale (Australia Presentation)
Operating Kubernetes at Scale (Australia Presentation)Operating Kubernetes at Scale (Australia Presentation)
Operating Kubernetes at Scale (Australia Presentation)
 
DevOps in Age of Kubernetes
DevOps in Age of KubernetesDevOps in Age of Kubernetes
DevOps in Age of Kubernetes
 
Webinar: Operating Kubernetes at Scale
Webinar: Operating Kubernetes at ScaleWebinar: Operating Kubernetes at Scale
Webinar: Operating Kubernetes at Scale
 
OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...
OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...
OSDC 2018 | From batch to pipelines – why Apache Mesos and DC/OS are a soluti...
 
DCOS Presentation
DCOS PresentationDCOS Presentation
DCOS Presentation
 
Scaling Like Twitter with Apache Mesos
Scaling Like Twitter with Apache MesosScaling Like Twitter with Apache Mesos
Scaling Like Twitter with Apache Mesos
 
EMC World 2016 - Introduction to Mesos and Mesosphere
EMC World 2016 - Introduction to Mesos and MesosphereEMC World 2016 - Introduction to Mesos and Mesosphere
EMC World 2016 - Introduction to Mesos and Mesosphere
 
Introduction to DC/OS
Introduction to DC/OSIntroduction to DC/OS
Introduction to DC/OS
 
EMC World 2016 - code.08 Introduction to Mesos and Mesosphere
EMC World 2016 - code.08 Introduction to Mesos and MesosphereEMC World 2016 - code.08 Introduction to Mesos and Mesosphere
EMC World 2016 - code.08 Introduction to Mesos and Mesosphere
 
Introduction to DC/OS
Introduction to DC/OSIntroduction to DC/OS
Introduction to DC/OS
 
Operating Flink on Mesos at Scale
Operating Flink on Mesos at ScaleOperating Flink on Mesos at Scale
Operating Flink on Mesos at Scale
 
Episode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OSEpisode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OS
 
Flink Forward San Francisco 2018: Jörg Schad and Biswajit Das - "Operating Fl...
Flink Forward San Francisco 2018: Jörg Schad and Biswajit Das - "Operating Fl...Flink Forward San Francisco 2018: Jörg Schad and Biswajit Das - "Operating Fl...
Flink Forward San Francisco 2018: Jörg Schad and Biswajit Das - "Operating Fl...
 
SMACK stack and beyond
SMACK stack and beyondSMACK stack and beyond
SMACK stack and beyond
 
Introduction to DC/OS
Introduction to DC/OSIntroduction to DC/OS
Introduction to DC/OS
 
MANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData ServicesMANTL Data Platform, Microservices and BigData Services
MANTL Data Platform, Microservices and BigData Services
 
Doing Dropbox the Native Cloud Native Way
Doing Dropbox the Native Cloud Native WayDoing Dropbox the Native Cloud Native Way
Doing Dropbox the Native Cloud Native Way
 

More from Stefan Schimanski

More from Stefan Schimanski (13)

Cutting the Kubernetes Monorepo in pieces
Cutting the Kubernetes Monorepo in piecesCutting the Kubernetes Monorepo in pieces
Cutting the Kubernetes Monorepo in pieces
 
Kubernetes API code-base tour
Kubernetes API code-base tourKubernetes API code-base tour
Kubernetes API code-base tour
 
Extending kubernetes with CustomResourceDefinitions
Extending kubernetes with CustomResourceDefinitionsExtending kubernetes with CustomResourceDefinitions
Extending kubernetes with CustomResourceDefinitions
 
Extending Kubernetes – Admission webhooks
Extending Kubernetes – Admission webhooksExtending Kubernetes – Admission webhooks
Extending Kubernetes – Admission webhooks
 
KubeCon EU 2018 – Sig API Machinery Deep Dive
KubeCon EU 2018 – Sig API Machinery Deep DiveKubeCon EU 2018 – Sig API Machinery Deep Dive
KubeCon EU 2018 – Sig API Machinery Deep Dive
 
Cutting the Kubernetes Monorepo in pieces – never learnt more about git
Cutting the Kubernetes Monorepo in pieces – never learnt more about gitCutting the Kubernetes Monorepo in pieces – never learnt more about git
Cutting the Kubernetes Monorepo in pieces – never learnt more about git
 
Git deep dive – chopping Kubernetes
Git deep dive – chopping KubernetesGit deep dive – chopping Kubernetes
Git deep dive – chopping Kubernetes
 
Extending the Kube API
Extending the Kube APIExtending the Kube API
Extending the Kube API
 
Meetup - Principles of the kube api and how to extend it
Meetup - Principles of the kube api and how to extend itMeetup - Principles of the kube api and how to extend it
Meetup - Principles of the kube api and how to extend it
 
Extend and build on Kubernetes
Extend and build on KubernetesExtend and build on Kubernetes
Extend and build on Kubernetes
 
Kubernetes API - deep dive into the kube-apiserver
Kubernetes API - deep dive into the kube-apiserverKubernetes API - deep dive into the kube-apiserver
Kubernetes API - deep dive into the kube-apiserver
 
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupKubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
 
Beyond static configuration
Beyond static configurationBeyond static configuration
Beyond static configuration
 

Recently uploaded

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 

Recently uploaded (20)

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 

Kubernetes on Top of Mesos on Top of DCOS

  • 1. © 2015 Mesosphere, Inc. All Rights Reserved.
  • 2. © 2015 Mesosphere, Inc. All Rights Reserved. 2 Kubernetes, Mesos, DCOS Sergiusz Urbaniak, Stefan Schimanski
  • 3. © 2015 Mesosphere, Inc. All Rights Reserved. 3 Engineers at: Mesosphere Working on: - Kubernetes-Mesos (Open Source & fully upstream) - DCOS integration Who are we? James Karl Tyler Stefan Sergiusz
  • 4. © 2015 Mesosphere, Inc. All Rights Reserved. 4 The company behind: ● Apache Mesos (https://mesos.apache.org/) A distributed systems kernel. ● Marathon (https://mesosphere.github.io/marathon/) An Apache Mesos framework for long-running applications. ● Chronos (http://mesos.github.io/chronos/) A distributed cron replacement. Who/What is Mesosphere? DCOS (https://mesosphere.com/) A data center operating system.
  • 5. © 2015 Mesosphere, Inc. All Rights Reserved. 5 The challenge: Warehouse Computing Source: https://www.google.com/about/careers/teams/ops-support/data-center/
  • 6. © 2015 Mesosphere, Inc. All Rights Reserved. 6 The reality today: Static Partitioning Source: https://commons.wikimedia.org/wiki/File:Cern_datacenter.jpg
  • 7. © 2015 Mesosphere, Inc. All Rights Reserved. single PC 7 Single Computer CPUMemory Storage Kernel → Linux, Darwin, Windows, FreeBSD, … init.d → SysV, systemd, ... cron tty MySQL docker- compose Container #1 Container #2 Container #3
  • 8. © 2015 Mesosphere, Inc. All Rights Reserved. >1000 PCs 8 DCOS - Data Center Operating System CPUMemory Storage Kernel → Apache Mesos init.d → Marathon Chronos dcos CLI Cassandra Riak, ... Kubernetes Pod #1 Pod #2 Pod #3
  • 9. © 2015 Mesosphere, Inc. All Rights Reserved. 9 apiVersion: v1 kind: Pod metadata: name: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80 apiVersion: v1 kind: Service metadata: name: nginx-service spec: ports: - port: 8000 targetPort: 80 protocol: TCP selector: app: nginx Kubernetes - the Data Center Userland API Pod Service
  • 10. © 2015 Mesosphere, Inc. All Rights Reserved. 10 The challenge: Warehouse Computing Source: https://www.google.com/about/careers/teams/ops-support/data-center/
  • 11. © 2015 Mesosphere, Inc. All Rights Reserved. 11 Placeholder - DCOS Services
  • 12. © 2015 Mesosphere, Inc. All Rights Reserved. 12
  • 13. © 2015 Mesosphere, Inc. All Rights Reserved. 13 $ dcos package install kubernetes $ dcos kubectl create -f nginx.yml pods/nginx $ dcos kubectl get pods NAME READY STATUS RESTARTS AGE nginx 1/1 Running 0 1m Demo: Install Kubernetes on DCOS nginx.yml: apiVersion: v1 kind: Pod metadata: name: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80
  • 14. © 2015 Mesosphere, Inc. All Rights Reserved. 14 Kubernetes by Google - Great for backend developers DCOS by Mesosphere - Great for datacenter operators Mesos by Apache - Great for low-level framework developers The Stack
  • 15. © 2015 Mesosphere, Inc. All Rights Reserved. 15 Mesos Datacenter Kernel - Cluster Resource Management - Scheduling - Process Isolation - Task/Container Execution
  • 16. © 2015 Mesosphere, Inc. All Rights Reserved. 16 Mesos Architecture FrameworkMesos ZooKeeper Node Node Node Executors Agent Agent Agent Tasks Tasks Executors Tasks Executors SDK for Mesos: HTTP/Protobuf API
  • 17. © 2015 Mesosphere, Inc. All Rights Reserved. 17 Kubernetes Userland API and System Services - High Level Application Abstractions - Cluster Containers Orchestration
  • 18. © 2015 Mesosphere, Inc. All Rights Reserved. 18 Kubernetes on Mesos Architecture Mesos Masters EtcdZooKeeper Node Node Node K8s Executor Mesos Agent Mesos Agent Mesos Agent Pods Pods K8s Executor Pods K8s Executor K8s Master API Server Scheduler Controllers
  • 19. © 2015 Mesosphere, Inc. All Rights Reserved. 19 Behind the scenes ... K8s Master API Server Scheduler Controllers $ dcos kubectl get pods NAME READY STATUS RESTARTS nginx 1/1 Running 0 GET /service/kubernetes/api/v1/pods { "kind": "List", "apiVersion": "v1", "metadata": {}, "items": [ { "kind": "Pod", "apiVersion": "v1", "metadata": { "name": "kube-dns-v9-ejq02", "generateName": "kube-dns-v9-", ...
  • 20. © 2015 Mesosphere, Inc. All Rights Reserved. 20 DCOS - Package Repo - Terminal Client - Config Service - Kernel - Init System - Dashboard - Service Discovery - Control Plane - Public & Private Zones Datacenter Operating System
  • 21. © 2015 Mesosphere, Inc. All Rights Reserved. 21 https://mesosphere.com/amazon/Try it yourself
  • 22. © 2015 Mesosphere, Inc. All Rights Reserved. 22
  • 23. © 2015 Mesosphere, Inc. All Rights Reserved. 23 Kubernetes on DCOS: http://kubernetes.io/v1.1/docs/getting-started-guides/dcos.html Kubernetes-Mesos on your Laptop: http://kubernetes.io/v1.1/docs/getting-started-guides/mesos-docker.html DCOS: https://mesosphere.com/product/ Github: https://github.com/kubernetes/kubernetes/tree/master/contrib/mesos Links
  • 24. © 2015 Mesosphere, Inc. All Rights Reserved. 24 v0.7.0-v1.1.1 today ● Kubernetes 1.1 ● 100% conformant docker-compose cluster ● major scheduler & executor refactoring ● lots of bugfixes v0.7.1-v1.1.x Dec’ish ● resource roles ⇒ slave_public support MVP v0.8.0-v1.1.x Feb’ish ● upgrade story, TLS support, no container leaks ● known and documented deficiencies ... Prod Ready v1.0.0-v1.x.y ● proven scaling to e.g. 1000 nodes, at least as good as upstream ● conformant DCOS package Roadmap
  • 25. © 2015 Mesosphere, Inc. All Rights Reserved. 25 Of course: we are hiring!
  • 26. © 2015 Mesosphere, Inc. All Rights Reserved. 26 Kubernetes on DCOS: http://kubernetes.io/v1.1/docs/getting-started-guides/dcos.html Kubernetes-Mesos on your Laptop: http://kubernetes.io/v1.1/docs/getting-started-guides/mesos-docker.html DCOS: https://mesosphere.com/product/ Github: https://github.com/kubernetes/kubernetes/tree/master/contrib/mesos Links
  • 27. © 2015 Mesosphere, Inc. All Rights Reserved.