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.5k
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.7k
Other Decks in Technology
See All in Technology
オブジェクト指向宗教史
tanakahisateru
24
13k
業務で使えるかもしれない…!?GitHub Actions の Tips 集 / CI/CD Test Night #7
ponkio_o
PRO
24
7.7k
Terraform v1.7のTest mocking機能の紹介 / Introducing the Test mocking feature of Terraform v1.7
yayoi_dd
2
190
暗黙知を集積するプラットフォーム : 「健常者エミュレータ事例集」の取り組み
sora32127
1
190
データ品質をコード化! LINEヤフーのMLOpsを最適化する "ACP Data Quality" の紹介
lycorptech_jp
PRO
3
340
.NETの非同期戦略とUnityとの相互運用
neuecc
2
2.5k
統計的学習理論読み Chapter 2
kmatsui
1
380
KubeCon EU 2024 : Knative Maintainers Session
salaboy
0
410
イチから学ぶdbt / Learn dbt from scratch
shinyaa31
0
200
プッシュ型子育てサービスを、先行プロジェクト実施自治体において開始します
govtechtokyo
0
310
ハイパフォーマンスな組織をつくるための開発生産性の考え方 / developer-productivity-high-performer-link-and-motivation
lmi
3
300
MongoDB Atlas Vectorsearchではじめる生成AIアプリ開発
chie8842
3
530
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
355
22k
What’s in a name? Adding method to the madness
productmarketing
PRO
14
2.6k
Web development in the modern age
philhawksworth
201
10k
Ruby is Unlike a Banana
tanoku
95
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
257
12k
We Have a Design System, Now What?
morganepeng
42
6.7k
The Mythical Team-Month
searls
214
42k
Git: the NoSQL Database
bkeepers
PRO
421
63k
Pencils Down: Stop Designing & Start Developing
hursman
115
11k
4 Signs Your Business is Dying
shpigford
174
21k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
225
51k
No one is an island. Learnings from fostering a developers community.
thoeni
14
2k
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 ඞཁ ΄ͱΜͲ੍͕ͳࣗ͘༝ ্هҎ֎