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
230
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
490
Kubernetify All The Things
stevesloka
0
130
Ship it! Containerized Cloud-Native Deployments
stevesloka
0
81
Micro-datacenter chaos monkeys! Raspberry Pi & Kubernetes
stevesloka
0
250
Kubernetify All The Things!
stevesloka
2
190
Ship it! Containerized Cloud-Native Deployments
stevesloka
1
140
Other Decks in Technology
See All in Technology
「魔法少女まどか☆マギカ Magia Exedra」のグローバル展開を支える、開発チームと翻訳チームの「意識しない協創」を実現するローカライズシステム
gree_tech
PRO
0
430
生成AI時代のデータ基盤
shibuiwilliam
3
1.9k
つくって納得、つかって実感! 大規模言語モデルことはじめ
recruitengineers
PRO
32
12k
Vault meets Kubernetes
mochizuki875
0
150
Figma + Storybook + PlaywrightのMCPを使ったフロントエンド開発
yug1224
10
3.6k
TypeScript入門
recruitengineers
PRO
35
11k
RSCの時代にReactとフレームワークの境界を探る
uhyo
6
880
コスト削減の基本の「キ」~ コスト消費3大リソースへの対策 ~
smt7174
2
320
Kiroと学ぶコンテキストエンジニアリング
oikon48
5
5k
衝突して強くなる! BLUE GIANTと アジャイルチームの共通点とは ― いきいきと活気に満ちたグルーヴあるチームを作るコツ ― / BLUE GIANT and Agile Teams
naitosatoshi
0
290
実運用で考える PGO
kworkdev
PRO
0
130
allow_retry と Arel.sql / allow_retry and Arel.sql
euglena1215
0
140
Featured
See All Featured
Building Adaptive Systems
keathley
43
2.7k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Documentation Writing (for coders)
carmenintech
73
5k
Balancing Empowerment & Direction
lara
3
600
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
790
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Practical Orchestrator
shlominoach
190
11k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
185
54k
How to Ace a Technical Interview
jacobian
279
23k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
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!