$30 off During Our Annual Pro Sale. View Details »
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.6k
Other Decks in Technology
See All in Technology
LY Accessibility Guidelines @fukuoka_a11yconf_前夜祭
lycorptech_jp
PRO
1
110
Will multimodal language processing change the world?
keio_smilab
PRO
2
210
共創するアーキテクチャ ~チーム全体で築く持続可能な開発エコシステム~ / Co-Creating Architecture - A Sustainable Development Ecosystem Built by the Entire Team
bitkey
PRO
1
3.6k
もう一度、 事業を支えるシステムに。
leveragestech
5
2.9k
Bytebaseで実現する データベース管理の効率化
shogo452
1
120
A Tour of Anti-patterns for Functional Programming
guvalif
0
2.4k
モバイルアプリ開発未経験者が プロダクト開発に携わるまでに取り組んだこと/nikkei-tech-talk-27-3
nikkei_engineer_recruiting
0
110
大規模トラフィックを支える ゲームバックエンドの課題と構成の変遷 ~安定したゲーム体験を実現するために~
colopl
0
460
Mastering Quickfix
daisuzu
2
470
歴史あるRuby on Railsでデッドコードを見つけ、 消す方法@yabaibuki.dev #3
ayumu838
0
1.5k
ゆるSRE勉強会 #8 組織的にSREが始まる中で意識したこと
abnoumaru
1
640
メインテーマはKubernetes
nwiizo
1
290
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Visualization
eitanlees
145
15k
Happy Clients
brianwarren
98
6.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
1
200
Raft: Consensus for Rubyists
vanstee
136
6.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Agile that works and the tools we love
rasmusluckow
327
21k
Building Your Own Lightsaber
phodgson
103
6.1k
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