Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kubernetes for the Mesos User
Search
Brian Hicks
July 12, 2016
Programming
1
97
Kubernetes for the Mesos User
Talk for the Denver Mesos User Group
Brian Hicks
July 12, 2016
Tweet
Share
More Decks by Brian Hicks
See All by Brian Hicks
Esperanto
brianhicks
0
130
Snake Snacks: Function Composition, The Dumb Way
brianhicks
0
120
Make Snacks: Yet Another JavaScript Build System
brianhicks
0
91
State of Elm 2017
brianhicks
1
520
µKanren: A Minimal Functional Core for Relational Programming
brianhicks
0
420
Terraform All The Things!
brianhicks
2
370
ch-ch-ch-ch-changes in Elm 0.17.0
brianhicks
2
1.8k
State of Elm 2016
brianhicks
3
530
Mesos + Consul = Developer Happiness (JUG)
brianhicks
1
130
Other Decks in Programming
See All in Programming
datadog dash 2025 LLM observability for reliability and stability
ivry_presentationmaterials
0
120
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
220
Is Xcode slowly dying out in 2025?
uetyo
1
200
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
970
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
240
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
240
WindowInsetsだってテストしたい
ryunen344
1
200
GraphRAGの仕組みまるわかり
tosuri13
8
490
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
570
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
110
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
240
CursorはMCPを使った方が良いぞ
taigakono
1
180
Featured
See All Featured
Site-Speed That Sticks
csswizardry
10
660
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Become a Pro
speakerdeck
PRO
28
5.4k
Raft: Consensus for Rubyists
vanstee
140
7k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Statistics for Hackers
jakevdp
799
220k
A designer walks into a library…
pauljervisheath
207
24k
The Cult of Friendly URLs
andyhume
79
6.5k
Writing Fast Ruby
sferik
628
61k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
How to Ace a Technical Interview
jacobian
277
23k
Transcript
Kubernetes for the Mesos User Denver Mesos Users Group, July
12 2016 1
Brian Hicks
[email protected]
@brianhicks Denver Mesos Users Group, July 12
2016 2
Denver Mesos Users Group, July 12 2016 3
Demo! Denver Mesos Users Group, July 12 2016 4
Kubernetes? Kubernetes is an open-source platform for automating deployment, scaling,
and operations of application containers across clusters of hosts. 4 kubernetes.io (emphasis mine) Denver Mesos Users Group, July 12 2016 5
Web Interface Denver Mesos Users Group, July 12 2016 6
Denver Mesos Users Group, July 12 2016 7
Denver Mesos Users Group, July 12 2016 8
Scheduling Denver Mesos Users Group, July 12 2016 9
Mesos 2-level scheduler, based on resources 1. Workers offer resources
to masters 2. Masters offer resources to frameworks 3. Frameworks accept resource offers 4. Work gets scheduled Denver Mesos Users Group, July 12 2016 10
Kubernetes Multi-step constraint-based scheduler 1. Find "suitable" nodes for pod
2. Rank best nodes - for example, by least scheduled 3. Work gets scheduled Denver Mesos Users Group, July 12 2016 11
Application Definition Denver Mesos Users Group, July 12 2016 12
Marathon { "id": "basic-0", "cmd": "while [ true ] ;
do echo 'Hello Marathon' ; sleep 5 ; done", "cpus": 0.1, "mem": 10.0, "instances": 1 } Denver Mesos Users Group, July 12 2016 13
Kubernetes --- apiVersion: extensions/v1beta1 kind: Deployment metadata: name: basic-0 spec:
replicas: 1 template: metadata: labels: app: basic-0 spec: containers: - name: basic-0 image: docker.io/gliderlabs/alpine:3.2 resources: limits: cpu: 100m memory: 10Mi args: - /bin/sh - -c - while [ true ] ; do echo Hello Kubernetes ; sleep 5 ; done Denver Mesos Users Group, July 12 2016 14
Kubernetes (CLI) kubectl run \ basic-0 \ --image=docker.io/gliderlabs/alpine:3.2 \ --limits="cpu=100m,memory=10Mi"
\ -- /bin/sh -c 'while [ true ] ; do echo Hello Kubernetes ; sleep 5 ; done' Denver Mesos Users Group, July 12 2016 15
When K8s, when Mesos? Denver Mesos Users Group, July 12
2016 16
Fault Tolerance: Tie! Denver Mesos Users Group, July 12 2016
17
Data Frameworks: Mesos Denver Mesos Users Group, July 12 2016
18
12-factor Apps: K8s Denver Mesos Users Group, July 12 2016
19
UI: Mesos Denver Mesos Users Group, July 12 2016 20
CLI: K8s Denver Mesos Users Group, July 12 2016 21
IP-Per-Container: K8s Denver Mesos Users Group, July 12 2016 22
Multitenancy: K8s Denver Mesos Users Group, July 12 2016 23
Questions? Denver Mesos Users Group, July 12 2016 24