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
データ戦略部門 紹介資料
sansan33
PRO
1
3.8k
[VPoE Global Summit] サービスレベル目標による信頼性への投資最適化
satos
0
210
Zephyr(RTOS)にEdge AIを組み込んでみた話
iotengineer22
1
270
「タコピーの原罪」から学ぶ間違った”支援” / the bad support of Takopii
piyonakajima
0
120
AWS DMS で SQL Server を移行してみた/aws-dms-sql-server-migration
emiki
0
110
それでも私が品質保証プロセスを作り続ける理由 #テストラジオ / Why I still continue to create QA process
pineapplecandy
0
160
Claude Code Subagents 再入門 ~cc-sddの実装で学んだこと~
gotalab555
10
17k
Dylib Hijacking on macOS: Dead or Alive?
patrickwardle
0
450
JSConf JPのwebsiteをGatsbyからNext.jsに移行した話 - Next.jsの多言語静的サイトと課題
leko
2
180
Data Hubグループ 紹介資料
sansan33
PRO
0
2.2k
Biz職でもDifyでできる! 「触らないAIワークフロー」を実現する方法
igarashikana
3
1.8k
AI時代、“平均値”ではいられない
uhyo
8
2.2k
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Balancing Empowerment & Direction
lara
5
700
Designing for Performance
lara
610
69k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
630
Statistics for Hackers
jakevdp
799
220k
Building an army of robots
kneath
305
46k
The Cult of Friendly URLs
andyhume
79
6.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Why Our Code Smells
bkeepers
PRO
340
57k
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 ඞཁ ΄ͱΜͲ੍͕ͳࣗ͘༝ ্هҎ֎