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
Application Orchestration with Kubernetes
Search
Steve Sloka
August 13, 2015
Technology
0
220
Application Orchestration with Kubernetes
Steve Sloka
August 13, 2015
Tweet
Share
More Decks by Steve Sloka
See All by Steve Sloka
Top 10 Kubernetes Tips/Tricks
stevesloka
2
470
Kubernetify All The Things
stevesloka
0
130
Ship it! Containerized Cloud-Native Deployments
stevesloka
0
73
Micro-datacenter chaos monkeys! Raspberry Pi & Kubernetes
stevesloka
0
220
Kubernetify All The Things!
stevesloka
2
180
Ship it! Containerized Cloud-Native Deployments
stevesloka
1
120
Other Decks in Technology
See All in Technology
Amplify 🩷 Bedrock 〜生成AI入門〜
minorun365
PRO
7
320
今日からできる!簡単 .NET 高速化 Tips -2024 edition-
xin9le
7
3.4k
ServiceNow Knowledge 24の歩き方 EYストラテジー・アンド・コンサルティング
manarobot
0
220
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
2
280
Gradle Build Scanを使ってビルドのことを知ろう potatotips #87
tomorrowkey
2
150
競技としてのKaggle、役に立つKaggle
yu4u
6
2.3k
Android Target SDK 35 (Android 15) 対応の概要
akkie76
0
140
データベース02: データベースの概念
trycycle
0
180
ServiceNow Knowledge Learning Rise up
manarobot
0
230
.NET Profiler in 2024.
kkamegawa
2
770
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
4
17k
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
29
6.4k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
19
6.9k
The Invisible Side of Design
smashingmag
294
49k
The Power of CSS Pseudo Elements
geoffreycrofte
61
5k
The Pragmatic Product Professional
lauravandoore
26
5.8k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
Debugging Ruby Performance
tmm1
70
11k
Typedesign – Prime Four
hannesfritz
36
2.1k
How STYLIGHT went responsive
nonsquared
92
4.8k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
6
1.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
Thoughts on Productivity
jonyablonski
59
3.8k
Transcript
Application Orchestration with Kubernetes
About Me Software Engineer / Architect
Kubernetes ◦ open-source platform for automating deployment, scaling, and operations
of application containers ◦ Servers 2-N
“helmsman of a ship” • lean: lightweight, simple, accessible •
extensible: modular, pluggable, hookable, composable, toolable • portable: public, private, hybrid, multi cloud • self-healing: auto-placement, auto-restart, auto- replication
DB01 WEB02 DWIGHT PAM
Application Containers Cluster of Machines Kubernetes
High level concepts ◦ node ◦ pod ◦ scheduler ◦
labels ◦ replication controller ◦ service
Node
1. Runs containers 2. Proxies service requests ◦ container engine
(docker / rkt) ◦ kubelet ◦ proxy
POD
Container B Container A Represents a logical application • Shared
◦ namespaces ◦ volumes
Pod Example: REST API (Container) Logger (Container) Logs
Scheduler
Schedules pods to run on nodes ◦ global scheduler ◦
best fit chosen based on pod requirements ◦ pluggable
Labels
Labels Example: frontend production backend production frontend staging steve staging
type=frontend frontend production backend production frontend staging steve staging
env=production frontend production backend production frontend staging steve staging
type=steve frontend production backend production frontend staging steve staging
Desired State / Controller
Create Pods Desired: Actual: POD POD POD POD POD POD
Delete Pods Desired: Actual: POD POD POD POD
Health Check Desired: Actual: POD POD POD POD POD POD
Replication Controller
Replication Controller ◦ Pod Template ◦ Docker image(s) ◦ Labels
◦ CPU / Memory ◦ Replicas
Services
Service discovery for pods ◦ proxy runs on each node
◦ virtual IP per service / dns address ◦ dynamic “pods” based on label queries
None
backend-service (4.5.6.7) selector=backend db-service (7.8.9.10) selector=db frontend-service (1.2.3.4) selector=frontend frontend
frontend frontend backend backend backend db
None
Brendan Burns (Google) @brendandburns Kelsey Hightower (CoreOS) @kelseyhightower
@stevesloka
[email protected]
Thank you!