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
スタートアップに選択肢を 〜生成AIを活用したセカンダリー事業への挑戦〜
nstock
0
270
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
7.8k
Getting to Know Your Legacy (System) with AI-Driven Software Archeology (WeAreDevelopers World Congress 2025)
feststelltaste
1
160
NewSQLや分散データベースを支えるRaftの仕組み - 仕組みを理解して知る得意不得意
hacomono
PRO
3
190
対話型音声AIアプリケーションの信頼性向上の取り組み
ivry_presentationmaterials
1
430
american aa airlines®️ USA Contact Numbers: Complete 2025 Support Guide
aaguide
0
400
cdk initで生成されるあのファイル達は何なのか/cdk-init-generated-files
tomoki10
0
230
【LT会登壇資料】TROCCO新コネクタ「スマレジ」を活用した直営店データの分析
kazari0425
1
110
インフラ寄りSREの生存戦略
sansantech
PRO
8
2.9k
オフィスビルを監視しよう:フィジカル×デジタルにまたがるSLI/SLO設計と運用の難しさ / Monitoring Office Buildings: The Challenge of Physical-Digital SLI/SLO Design & Operation
bitkey
1
140
CDKコード品質UP!ナイスな自作コンストラクタを作るための便利インターフェース
harukasakihara
2
140
freeeのアクセシビリティの現在地 / freee's Current Position on Accessibility
ymrl
2
250
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Docker and Python
trallard
44
3.5k
A Tale of Four Properties
chriscoyier
160
23k
Adopting Sorbet at Scale
ufuk
77
9.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Automating Front-end Workflow
addyosmani
1370
200k
Music & Morning Musume
bryan
46
6.6k
Designing for Performance
lara
610
69k
Visualization
eitanlees
146
16k
How STYLIGHT went responsive
nonsquared
100
5.6k
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 ඞཁ ΄ͱΜͲ੍͕ͳࣗ͘༝ ্هҎ֎