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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Brian Hicks
July 12, 2016
Programming
1
120
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
140
Snake Snacks: Function Composition, The Dumb Way
brianhicks
0
160
Make Snacks: Yet Another JavaScript Build System
brianhicks
0
120
State of Elm 2017
brianhicks
1
560
µKanren: A Minimal Functional Core for Relational Programming
brianhicks
0
460
Terraform All The Things!
brianhicks
2
420
ch-ch-ch-ch-changes in Elm 0.17.0
brianhicks
2
1.8k
State of Elm 2016
brianhicks
3
570
Mesos + Consul = Developer Happiness (JUG)
brianhicks
1
140
Other Decks in Programming
See All in Programming
CSC307 Lecture 11
javiergs
PRO
0
580
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
150
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
12
6.7k
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
200
2026/02/04 AIキャラクター人格の実装論 口 調の模倣から、コンテキスト制御による 『思想』と『行動』の創発へ
sr2mg4
0
610
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
210
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
200
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
350
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
390
Gemini for developers
meteatamel
0
120
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
170
Featured
See All Featured
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.3k
Music & Morning Musume
bryan
47
7.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Facilitating Awesome Meetings
lara
57
6.8k
The Spectacular Lies of Maps
axbom
PRO
1
570
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
960
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
130
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
220
Speed Design
sergeychernyshev
33
1.6k
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