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
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
130
Other Decks in Technology
See All in Technology
TerraformをSaaSで使うとAzureの運用がこんなに楽ちん!HCP Terraformって何?
mnakabayashi
0
130
RubyOnRailsOnDevin+α / DevinMeetupJapan#2
ginkouno
0
410
ObsidianをMCP連携させてみる
ttnyt8701
2
120
白金鉱業Meetup_Vol.19_PoCはデモで語れ!顧客の本音とインサイトを引き出すソリューション構築
brainpadpr
2
380
CI/CDとタスク共有で加速するVibe Coding
tnbe21
0
170
Amazon Q Developer for GitHubとAmplify Hosting でサクッとデジタル名刺を作ってみた
kmiya84377
0
3.5k
自分を理解するAI時代の準備 〜マイプロフィールMCPの実装〜
edo_m18
0
110
データ戦略部門 紹介資料
sansan33
PRO
1
3.2k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
17k
「規約、知識、オペレーション」から考える中規模以上の開発組織のCursorルールの 考え方・育て方 / Cursor Rules for Coding Styles, Domain Knowledges and Operations
yuitosato
6
1.7k
Snowflake Intelligenceで実現できるノーコードAI活用
takumimukaiyama
1
230
CIでのgolangci-lintの実行を約90%削減した話
kazukihayase
0
280
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
780
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
KATA
mclloyd
29
14k
The Cult of Friendly URLs
andyhume
79
6.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
How to Ace a Technical Interview
jacobian
276
23k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Documentation Writing (for coders)
carmenintech
71
4.9k
Six Lessons from altMBA
skipperchong
28
3.8k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
GraphQLとの向き合い方2022年版
quramy
46
14k
The Cost Of JavaScript in 2023
addyosmani
50
8.3k
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!