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
120
1
Share
Kubernetes for the Mesos User
Talk for the Denver Mesos User Group
Brian Hicks
July 12, 2016
More Decks by Brian Hicks
See All by Brian Hicks
Esperanto
brianhicks
0
150
Snake Snacks: Function Composition, The Dumb Way
brianhicks
0
170
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
470
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
580
Mesos + Consul = Developer Happiness (JUG)
brianhicks
1
150
Other Decks in Programming
See All in Programming
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
320
実践CRDT
tamadeveloper
0
560
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
0
140
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
240
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
360
UIの境界線をデザインする | React Tokyo #15 メイントーク
sasagar
2
350
飯MCP
yusukebe
0
510
Liberating Ruby's Parser from Lexer Hacks
ydah
2
710
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
170
2026_04_15_量子計算をパズルとして解く
hideakitakechi
0
100
Make GenAI Production-Ready with Kubernetes Patterns
bibryam
0
120
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
170
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
730
Done Done
chrislema
186
16k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Fireside Chat
paigeccino
42
3.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
710
Are puppies a ranking factor?
jonoalderson
1
3.3k
WCS-LA-2024
lcolladotor
0
540
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Building Applications with DynamoDB
mza
96
7k
The SEO Collaboration Effect
kristinabergwall1
0
420
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