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
k8s_ml_platform.pdf
Search
kuromatsu
February 19, 2019
Technology
3
2.8k
k8s_ml_platform.pdf
Kubernetes Meetup Tokyo #16
https://k8sjp.connpass.com/event/116799/
kuromatsu
February 19, 2019
Tweet
Share
More Decks by kuromatsu
See All by kuromatsu
Kubernetesのカスタマイズポイントのまとめ
kuromt
0
1.7k
Other Decks in Technology
See All in Technology
AI×医用画像の現状と可能性_2024年版/AI×medical_imaging_in_japan_2024
tdys13
0
1.2k
Amazon Q Developerで.NET Frameworkプロジェクトをモダナイズしてみた
kenichirokimura
1
120
React Routerで実現する型安全なSPAルーティング
sansantech
PRO
4
870
型情報を用いたLintでコード品質を向上させる
sansantech
PRO
2
220
DevFest 2024 Incheon / Songdo - Compose UI 조합 심화
wisemuji
0
250
OCI技術資料 : ファイル・ストレージ 概要
ocise
3
12k
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
3
490
10年もののバグを退治した話
n_seki
0
140
ハイテク休憩
sat
PRO
2
190
能動的ドメイン名ライフサイクル管理のすゝめ / Practice on Active Domain Name Lifecycle Management
nttcom
0
310
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
1
5k
20241220_S3 tablesの使い方を検証してみた
handy
4
860
Featured
See All Featured
Writing Fast Ruby
sferik
628
61k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Faster Mobile Websites
deanohume
305
30k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
How STYLIGHT went responsive
nonsquared
96
5.3k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
We Have a Design System, Now What?
morganepeng
51
7.3k
Embracing the Ebb and Flow
colly
84
4.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Side Projects
sachag
452
42k
Transcript
KubernetesͰػցֶशج൫Λ ߏஙͨ͠ גࣜձࣾ࢜௨ݚڀॴ ਓೳݚڀॴ @kuromt_ 1
ࣗݾհ • TwitterΞΧϯτ: @kuromt_ • ॴଐɿגࣜձࣾ࢜௨ݚڀॴɹਓೳݚڀॴ – ػցֶशΛࢧ͑Δج൫ͷݚڀ – ͚ࣾʹػցֶशج൫Λk8s্ʹߏஙͯ͠2ؒۙ͘ӡ༻த
2
ࠓ͓͢Δ͜ͱ • ֶशίετ͕ߴ͍KubernetesΛӅṭ͠ɺֶशɾਪ ڥΛ࠶ݱՄೳͳػցֶशج൫Λߏஙͨ͠ • ӡ༻ͰಘͨݟQiitaʹެ։ – ʮػցֶशج൫ΛKubernetesͰӡ༻͖ͯͯ͠ʯ 3
KubernetesΛͬͨػցֶशج൫ͷ՝ ϝτϦΫεऩू kubectl ֶ श σ ʔ λ Ϧ
ι ʔε ͷ ֬ ೝ ֶशɺਪ • Kubernetesͷֶशίετ σʔλαΠΤϯςΟετʹ ͱͬͯߴ͗͢Δ • Job, Deployment … • Service, Ingress … • PV, PVC … • ֶशɺਪڥΛ࠶ݱ – Ϟσϧͷਫ਼͕ѱԽͨ͠ ཧ༝ͷݕূ 4
ߏஙͨ͠ج൫ 5
KubernetesΛӅṭ͢ΔಠࣗWebAPIαʔό • ػցֶशͷֶशɾਪͷͨΊʹKubernetesͷػೳΛऔࣺબ͠ ͯAPIΛཧ – ࠷ऴతʹdockerίϚϯυΛୟ͘߹ͱ΄ͱΜͲ͕ࠩͳ͍͍ํͷύϥ ϝʔλʹམͪண͍ͨ • WebAPIαʔόϚχϑΣετΛੜͯ͠kubernetes clientܦ༝
ͰίϯςφΛੜ – KubernetesΛΞοϓάϨʔυͯ͠WebAPIサーバがKubernetesͷAPI ͷมߋΛٵऩ͢ΔͷͰϢʔβύϥϝʔλΛมߋ͢Δඞཁͳ͍ 6
ҙͷֶशɾਪڥΛ࠶ݱ͢ΔΈ • ࠶ݱ͍ͨ͠ڥΛొɾར༻͢ΔAPIΛ༻ҙ – docker-composeΛج൫ͦͷͷʹొ͢Δײ֮ – ڥ໊ͱόʔδϣϯͰҰҙʹܾ·Δ • ొऀҎ֎ొ͞Ε࣮ͨߦڥΛ࠶ར༻Մೳ –
σʔλΛϚϯτ࣮ͨ͠ߦڥͷָ͕ʹͳΓɺモデルの精度の検証や PoCͷελʔτ͕ૉૣ͘ͳͬͨ 7
ߏஙֶͨ͠शɾਪج൫ ϝτϦΫεऩू ֶ श σ ʔ λ Ϧ ι
ʔε ͷ ֬ ೝ ֶशɺਪ • Ϋϥελߏ – ΦϯϓϨϛε – k8s: v1.13.2(HAߏ) – RAM: 560GBʙ1.5TB – GPU: • V100: 20ʙ40ຕ • P100: 8ʙ80ຕ • Ϧιʔε͕ෆ͢ΕNodeΛ Ճͯ͠ରԠ • શମߏCIͰཧ Web API 8
·ͱΊ • ػցֶशج൫Λߏங – KubernetesͰ͋Δ͜ͱΛҙࣝ͠ͳ͍͍ͯ͘ – WebAPIͰֶशɾਪڥΛొɾ࠶ݱͰ͖Δ • PaaSͱͯ͠ج൫͕ҭͪͭͭ͋Δ –
ݱࡏ170ਓҎ্͕ར༻ – KubernetesͩͱΒͣʹ͍ͬͯΔਓଟ͍ • 2,000ίϯςφҎ্Λಉ࣌ʹಈ͔͠ύϥϝʔλ୳ࡧ͢Δ͜ͱ 9