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
480
Kubernetify All The Things
stevesloka
0
130
Ship it! Containerized Cloud-Native Deployments
stevesloka
0
75
Micro-datacenter chaos monkeys! Raspberry Pi & Kubernetes
stevesloka
0
240
Kubernetify All The Things!
stevesloka
2
190
Ship it! Containerized Cloud-Native Deployments
stevesloka
1
130
Other Decks in Technology
See All in Technology
Exadata Database Service on Cloud@Customer セキュリティ、ネットワーク、および管理について
oracle4engineer
PRO
0
1.1k
いろんなものと両立する Kaggleの向き合い方
go5paopao
1
180
一休.comレストランにおけるRustの活用
kymmt90
3
640
Shift-from-React-to-Vue
calm1205
4
1.5k
【若手エンジニア応援LT会】AWS Security Hubの活用に苦労した話
kazushi_ohata
0
250
コンテナのトラブルシューティング目線から AWS SAW についてしゃべってみる
kazzpapa3
1
120
Jr. Championsになって、強く連携しながらAWSをもっと使いたい!~AWSに対する期待と行動~
amixedcolor
0
260
【若手エンジニア応援LT会】AWSで繋がり、共に成長! ~コミュニティ活動と新人教育への挑戦~
kazushi_ohata
0
260
生成AIとAWS CDKで実現! 自社ブログレビューの効率化
ymae
2
410
カメラを用いた店内計測におけるオプトインの仕組みの実現 / ai-optin-camera
cyberagentdevelopers
PRO
1
130
AI長期記憶システム構築のための LLMマルチエージェントの取り組み / Awarefy-LLM-Multi-Agent
iktakahiro
1
240
Mini Tokyo 3D × PLATEAU - 公共交通デジタルツインにリアルな風景を
nagix
1
180
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
115
6.9k
Adopting Sorbet at Scale
ufuk
73
9k
Making Projects Easy
brettharned
115
5.9k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
Fontdeck: Realign not Redesign
paulrobertlloyd
81
5.2k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Optimizing for Happiness
mojombo
376
69k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
800
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
Unsuck your backbone
ammeep
668
57k
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!