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
Kubernetesのカスタマイズポイントのまとめ
Search
kuromatsu
March 27, 2019
Technology
0
1.7k
Kubernetesのカスタマイズポイントのまとめ
https://fujitsufjct.connpass.com/event/123320/
kuromatsu
March 27, 2019
Tweet
Share
More Decks by kuromatsu
See All by kuromatsu
k8s_ml_platform.pdf
kuromt
3
2.8k
Other Decks in Technology
See All in Technology
テストアーキテクチャ設計で実現する高品質で高スピードな開発の実践 / Test Architecture Design in Practice
ropqa
3
550
RSNA2024振り返り
nanachi
0
330
実践!OpenTelemetry
oracle4engineer
PRO
0
220
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
57k
まだ間に合う! エンジニアのための生成AIアプリ開発入門 on AWS
minorun365
PRO
4
560
Building Products in the LLM Era
ymatsuwitter
9
2.9k
君はPostScriptなウィンドウシステム 「NeWS」をご存知か?/sunnews
koyhoge
0
710
Nekko Cloud、 これまでとこれから ~学生サークルが作る、 小さなクラウド
logica0419
2
230
偶然 × 行動で人生の可能性を広げよう / Serendipity × Action: Discover Your Possibilities
ar_tama
1
250
バックエンドエンジニアのためのフロントエンド入門 #devsumiC
panda_program
16
5.5k
ハッキングの世界に迫る~攻撃者の思考で考えるセキュリティ~
nomizone
10
3.4k
Active Directory の保護
eurekaberry
7
3.9k
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
The Invisible Side of Design
smashingmag
299
50k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Thoughts on Productivity
jonyablonski
69
4.4k
Adopting Sorbet at Scale
ufuk
74
9.2k
Become a Pro
speakerdeck
PRO
26
5.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Typedesign – Prime Four
hannesfritz
40
2.5k
Making Projects Easy
brettharned
116
6k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Transcript
Kubernetesͷ ΧελϚΠζϙΠϯτͷ·ͱΊ ࢜௨ݚڀॴ ਓೳݚڀॴ @kuromt_ 1
ࣗݾհͱຊͷ͓ • TwitterΞΧϯτ: @kuromt_ • ॴଐɿ࢜௨ݚڀॴɹਓೳݚڀॴ – ػցֶशج൫ΛKubernetes্ʹߏஙͯ͠2ؒۙ͘ӡ༻த • ຊͷ͓
- KubernetesΛ֦ு͢Δํ๏ͷ·ͱΊ • KubernetesΛͬͨج൫Λߏங͢Δͱ͖ʹ͍ͬͯΔͱศར 2
KubernetesͷجຊతͳॲཧͷྲྀΕ •Reconciliation Loop - Controller͕ϦιʔεΛΉঢ়ଶʹ͚ۙͮΔ APIServer Controller watch Ή ঢ়ଶ
Resource diff action Resource Resource ೝূ ೝՄ Admission Controller 1. Ήঢ়ଶ͕ॻ͖Θͬͨ͜ͱΛݕ 2. Ήঢ়ଶͱ࣮ଶͷࠩΛ֬ೝ 3. Ήঢ়ଶʹ͚ۙͮΔΑ͏ʹॲཧΛ࣮ߦ ϦΫΤετ 3 Pod͕3ͭ replicas: 3
Admission Controller •ೝূɺೝՄΛࡁ·ͤͨ͋ͱʹϦΫΤετΛϋϯυϧ͢Δ֦ு - APIServerىಈ࣌ʹద༻͢ΔAdmission Controller - ॲཧ༰ΛࣗͰ࣮͠ޙ͔ΒՃՄೳͳDynamic Admission Controller
APIServer Controller watch Ή ঢ়ଶ Resource diff action Resource Resource ೝূ ೝՄ Admission Controller ϦΫΤετ Dynamic Admission Controller 4
Custom Resource Definition •APIServerʹಠࣗͷϦιʔεΛొ͢ΔΈ - ରԠ͢ΔControllerΛࣗͰ࣮͢Δඞཁ͕͋Δ Custom Controller watch Ή
ঢ়ଶ Resource Resource Custom Resource diff action ϦΫΤετ ೝূ ೝՄ Admission Controller APIServer 5
Aggregated APIServer •APIServerͷׂΛ࣋ͭαʔόΛผ్༻ҙ͢Δ֦ு - APIServerʹ͋ΔAggregated Layer͕ϓϩΩγͱͯ͠ৼ͏ - Aggregated APIServerࣗͰ༻ҙ͢Δ APIServer
ೝূ ೝՄ ϦΫΤετ Aggregated APIServer 6
ͦΕͧΕͷΧελϚΠζϙΠϯτͷཧ 7 ࣮ ॊೈੑ ༻్ Admission Contoller ෆཁ ࣄલʹܾΊΒΕͨϙϦγʔ ͷΈΛ͏ͷͰ͍
ϦΫΤετ༰ͷϋϯυϧ Dynamic Admission Controller ඞཁ ͋Δఔ੍͕͋Δ͕ൺֱ తࣗ༝ ϦΫΤετ༰ͷϋϯυϧ Custom Resource Definition ඞཁ ͋Δఔ੍͕͋Δ͕ൺֱ తࣗ༝ ಠࣗϦιʔεͷՃͱཧ Aggregated API Server ඞཁ ΄ͱΜͲ੍͕ͳࣗ͘༝ ্هҎ֎