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
98
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
96
State of Elm 2017
brianhicks
1
520
µKanren: A Minimal Functional Core for Relational Programming
brianhicks
0
430
Terraform All The Things!
brianhicks
2
380
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
AIコーディングエージェント全社導入とセキュリティ対策
hikaruegashira
16
9.6k
11年かかって やっとVibe Codingに 時代が追いつきましたね
yimajo
1
250
React 使いじゃなくても知っておきたい教養としての React
oukayuka
18
5.5k
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
0
790
202507_ADKで始めるエージェント開発の基本 〜デモを通じて紹介〜(奥田りさ)The Basics of Agent Development with ADK — A Demo-Focused Introduction
risatube
PRO
6
1.4k
Constant integer division faster than compiler-generated code
herumi
2
550
Workers を定期実行する方法は一つじゃない
rokuosan
0
140
それ CLI フレームワークがなくてもできるよ / Building CLI Tools Without Frameworks
orgachem
PRO
17
3.7k
オホーツクでコミュニティを立ち上げた理由―地方出身プログラマの挑戦 / TechRAMEN 2025 Conference
lemonade_37
2
450
Gemini CLIの"強み"を知る! Gemini CLIとClaude Codeを比較してみた!
kotahisafuru
3
960
DynamoDBは怖くない!〜テーブル設計の勘所とテスト戦略〜
hyamazaki
0
190
あなたとJIT, 今すぐアセンブ ル
sisshiki1969
0
520
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
1k
Scaling GitHub
holman
461
140k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
800
How STYLIGHT went responsive
nonsquared
100
5.7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Rails Girls Zürich Keynote
gr2m
95
14k
A better future with KSS
kneath
239
17k
Transcript
Kubernetes for the Mesos User Denver Mesos Users Group, July
12 2016 1
Brian Hicks brian@aster.is @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