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
230
0
Share
Application Orchestration with Kubernetes
Steve Sloka
August 13, 2015
More Decks by Steve Sloka
See All by Steve Sloka
Top 10 Kubernetes Tips/Tricks
stevesloka
2
500
Kubernetify All The Things
stevesloka
0
130
Ship it! Containerized Cloud-Native Deployments
stevesloka
0
85
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
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
PRO
3
700
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
380
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.2k
Discordでリモートポケカしてたら、なぜかDOを25分間動かせるようになった話
umireon
0
120
あるアーキテクチャ決定と その結果/architecture-decision-and-its-result
hanhan1978
2
580
OBI+APMでお手軽にアプリケーションのオブザーバビリティを手に入れよう
kenshimuto
0
250
ログ基盤・プラグイン・ダッシュボード、全部整えた。でも最後は人だった。
makikub
5
1.7k
今年60歳のおっさんCBになる
kentapapa
1
370
Eight Engineering Unit 紹介資料
sansan33
PRO
3
7.2k
幾億の壁を超えて/Beyond Countless Walls(JP)
ikuodanaka
0
110
生成AI時代のエンジニア育成 変わる時代と変わらないコト
starfish719
0
620
AIを活用したアクセシビリティ改善フロー
degudegu2510
1
170
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Ethics towards AI in product and experience design
skipperchong
2
250
Site-Speed That Sticks
csswizardry
13
1.1k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
110
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
410
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
710
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
The Invisible Side of Design
smashingmag
302
51k
We Have a Design System, Now What?
morganepeng
55
8.1k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
97
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
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!