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 Case Studies #1@Makuake KubeCon NA 2...
Search
mnuma
December 04, 2019
0
120
Kubernetes Case Studies #1@Makuake KubeCon NA 2019 Recap
mnuma
December 04, 2019
Tweet
Share
More Decks by mnuma
See All by mnuma
自動テストについて / Automated Testing
mnuma
0
190
Kubernetesの自動アップグレードについて / Upgrading GKE cluster
mnuma
0
170
AWS Auroraのスロークエリを Datadogで扱うまで / How to handle slow_queries_logs in AWS Aurora with Datadog
mnuma
0
700
Googleに学ぶDesign Docs / Learn from Google on Design Docs
mnuma
0
140
Observabilityを実践する / Pragmatic observability
mnuma
2
180
カオスエンジニアリングについてヤホーで調べてきました / Enter the chaos engineering
mnuma
0
73
Chaos Engineering 現状把握 / History Of Chaos Engineering
mnuma
0
310
ISUCON参加を振り返る / Recollect My ISUCON
mnuma
0
130
CircleCIのリファクタリングについて / Refactoring CircleCI
mnuma
1
170
Featured
See All Featured
Building an army of robots
kneath
302
45k
Designing for Performance
lara
604
68k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Thoughts on Productivity
jonyablonski
68
4.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Site-Speed That Sticks
csswizardry
3
270
Fireside Chat
paigeccino
34
3.1k
Statistics for Hackers
jakevdp
797
220k
Transcript
,VCFSOFUFT$BTF4UVEJFT !.BLVBLF,VCF$PO/"3FDBQ
/PWFNCFSr 4BO%JFHP$POWFOUJPO$FOUFS 4BO%JFHP $BMJGPSOJB ,VCF$PO$MPVE/BUJWF$PO
BUUFOEFFT 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ఆੑ TUBCJMJUZ ͷରॲΛݕ౼͍ͯͨ͠ɻ
εέʔϦϯά͕ඞཁʹͳͬͯ͘Δͱɺ"VUP4DBMJOHάϧʔϓͰߏ͞Εͨɺ &$Πϯελϯεͷىಈͪʹ·͞Ε͍ͯͨɻ ίϯςφ͕ඵͰτϥϑΟοΫΛεέδϡʔϦϯά͢ΔΈͱͯັྗతͩͬͨɻ
)PX ݄͔ΒҠߦΛਐΊͨɻ ͯ͢ͷαʔϏεΛίϯςφԽͯ͠,VCFSOFUFT͕ಈ࡞͢ΔTUBHJOHڥʹ σϓϩΠΛ͡Ίͨɻ ݄͔Βͯ͢ͷϨΨγʔαʔϏεΛ,VCFSOFUFTʹҠߦͨ͠ɻ ཌ݄ʹશͯͷҠߦΛྃͤ͞ɺ5JOEFS,VCFSOFUFTͰಈ͘Α͏ʹͳͬͨɻ
-FHBDZ"SDIJUFDUVSF #VJMEJOH*NBHFT $*$% 0SJHJOBM"SDIJUFDUVSF .JHSBUJPO -FBEOJOH -PBE#BMBODJOH&OWPZ $VSSFOU"SDIJUFDUVSF .POJUPSJOH4UBDL 'VUVSF"SDIJUFDUVSF
0WFSWJFX
-FHBDZ"SDIJUFDUVSF ɾ&$"VUP4DBMJOH(SPVQ ɹɹɾ&-#ΛαʔϏεຖʹஔ ɹɹɾ$16ͰεέʔϦϯά ɹɹɾ"VUP4DBMJOHάϧʔϓΛϓϩϏδϣχϯά͢Δ࠷খݶͷπʔϧ ɾϊʔυͷߏཧʹ1VQQFUΛར༻ ɾαʔϏεຖʹ1SPNFUIFVTΛར༻ ɾσϓϩΠ৽͍͠/'4ʹϚϯτͯ͠࠶ىಈ GBJSMZBSDIBJDXBZ
#VJMEJOH*NBHFT ɾ͍ͳࣄʹ5JOEFS͢ͰʹϚΠΫϩαʔϏεͷߏͩͬͨ ɾ͔͠͠Λ͑ΔϨϙδτϦͷ༷ʑͳݴޠʹରԠ͢Δඞཁ͕͋ͬͨ /PEFKTɺ+BWBɺ4DBMBɺ(P ɾΧελϚΠζՄೳ͔ͭඪ४Խ͞Εͨํ๏ͰϏϧυͷهड़Λ౷Ұͨ͠ ɾϏϧυπʔϧΛଋͶͨ#VJMEFS$POUBJOFSΛͬͯ ֤ґଘؔΛղܾ͍ͯ͠Δ
IUUQTNFEJVNDPNUJOEFSFOHJOFFSJOHUJOEFSTNPWFUPLVCFSOFUFTDEBBG
$*$%
None
جຊతͳσϓϩΠఆٛ શͯʹ.BLFpMF͕ଘࡏ 6*ͷఏڙεέδϡʔϦϯά $*$%'SBNFXPSLܦ༝Ͱ 5FSSBGPSNͱ͔QVQQFUΛୟ͍ͯΔ &$3ʹΠϝʔδ1VTI 5FSSBGPSNTUBUF ͷ#BDLFOE 5FSSBGPSNͰͷߏཧ 1VQQFUͰͷߏཧ
,VCFSOFUFTNBOJGFTU "QQMZ
ଟݴޠͷϏϧυґଘΛ͜͜Ͱٵऩ͠ ίϯςφϏϧυ
0SJHJOBM"SDIJUFDUVSF ɾLVCFBXTΛ͍ͬͯΔ ɾ࠷ॳҰͭͷେ͖ͳOPEFQPPMΛ͍ͬͯͨ ɾ͙͢ʹαΠζλΠϓͰ͚ͨ ॲཧͷॏ͍1PEΛಉډͤͨ͞΄͏͕ ଟͷγϯάϧεϨουϙουΛڞଘͤ͞ΔΑΓɺ ύϑΥʔϚϯεͷ༧͍͢͠ɻ ˞LVCFBXT $MPVE'PSNBUJPOΛ༻ͨ͠"84ڥ͚ ,VCFSOFUFTηοτΞοϓπʔϧ
0SJHJOBM"SDIJUFDUVSF
.JHSBUJPO ɾϨΨγʔڥ͔ΒLVCFSOFUFT༻ͷ৽71$ʹ࡞ΒΕͨ&-#Λ͘Α͏ʹͨ͠ ɾLVCFSOFUFT༻ͷ71$Λ৽ͨʹ࡞͠چڥ71$͔Β71$QFFSJOHͨ͠ ɾ֤ϞδϡʔϧΛঃʑʹҠߦͰ͖ͨ ɾ$/".&Λͬͯ&-#ΛҠߦͨ͠ ɾॏΈ͚$/".&Λ55-Ͱ࡞͠چڥ͔Β͚ɺঃʑʹτϥϑΟοΫΛ͚ͨ ɾ͕͋ͬͨΒ%/4ͰΓ͠
.JHSBUJPO -FHBDZ71$ LT71$ 71$QFFSJOH 3PVUF &-# &-# # #` "
$/".&55- $
݄ ݄ ݄ LVCFSOFUFTͷҠߦʹணख શͯͷαʔϏεΛҠߦ શʹαʔϏεҠߦΛྃ
1BJOGVMPVUBHFT ݄5JOEFS࣌ؒͷػೳఀࢭʹؕͬͨɻ
1BJOGVMPVUBHFT-FBSOJOHT
-FBSOJOHT "31 ɾ݄5JOEFSӬଓతͳػೳఀࢭʹؕͬͨ ͦͷͷૣேɺϨΠςϯγʔ૿Ճʹ͍ɺ1PEͱ/PEFͷεέʔϦϯά͕ߦΘΕͨ ɾͦΕΛܖػʹͯ͢ͷϊʔυͰ"31Ωϟογϡ͕ރׇͨ͠ ɾ݁Ռ ɾύέοτͷυϩοϓ͕ൃੜͨ͠ ɾ"31ςʔϒϧ͔ΒͷqBOOFMͷԾΞυϨεྖҬT͕ࣦΘΕͨ ɾ/PEF͔Β1PEͷ௨৴ͱ%/4ϧοΫΞοϓ͕ࣦഊ͢ΔΑ͏ʹͳͬͨ ɾHD@UISFTIͷઃఆΛ্͛ͨ
ɾqBOOFMΛ࠶ىಈͨ͠ ˞HD@UISFTI "31ΩϟογϡΤϯτϦʔͷ,BSOFMύϥϝʔλ ˞qBOOFM ,VCFSOFUFTͷωοτϫʔΫϞσϧͷҰͭ 1PEؒωοτϫʔΫΛ୲อͯ͠Δ
ߏஙͨ͠,VCFSOFUFTج൫ʹαʔϏεΛଓʑඋ
-FBSOJOHT %/4 ɾ%/4ϧοΫΞοϓλΠϜΞτ͕ൃੜ͢ΔΑ͏ʹͳͬͨ4/"5%/"5 ɾҟৗͳϧοΫΞοϓ͕ൃੜ͍ͯͨ͠$PSF%/4OEPUT1SPCMFN ɾϐʔΫͰ TFDϦΫΤετͷ%/4αʔϏεΛ࣮ߦ͍ͯͨ͠ ɾճආࡦ ɾ%/4ΛϫʔΧʔϊʔυࣗମʹҠಈ͢Δ͜ͱͰͨ͠ ɾ$PSF%/4,VCFSOFUFTͰ%BFNPO4FUͱͯ͠ల։͞Ε LVCFMFUDMVTUFSEOTίϚϯυϑϥάΛߏ͢Δ͜ͱʹΑΓɺ
ϊʔυͷϩʔΧϧ%/4αʔόʔΛ֤ϙουͷSFTPMWDPOGʹૠೖͨ͠ ɾ͜ͷճආࡦɺ%/4λΠϜΞτʹରͯ͠༗ޮͩͬͨ ˞$PSF%/4 αʔϏεσΟεΧόϦΛ࣮ݱ͢Δ FUDEΛόοΫΤϯυͱͨ͠%/4αʔό ,VCFSOFUFT͔ΒσϑΥϧτ
-PBE#BMBODJOH&OWPZ ɾϙουશମͷෛՙ͕ෆۉߧʹͳΓ࢝Ίͨ ͜ΕLFFQBMJWFʹΑΓɺ&-#ଓ͕४උ͕ͬͨ1PEʹݻఆ͞Εɺ ΄ͱΜͲͷτϥϑΟοΫ͕ར༻Մೳͳ1PEͷ͘͝Ұ෦ΛྲྀΕ͍ͯΔ͜ͱ͕Θ͔ͬͨ ɾճආࡦ ɾˋ.BY4VSHF 1PEͷσϓϩΠઓུ Λ༻ ɾҰ෦Ͱ؇͞Ε͕ͨɺ࣋ଓՄೳͰͳ͔ͬͨ ɾղܾࡦΑΓྑ͍ϩʔυόϥϯαʔΛར༻͢Δ͜ͱ
ɾ&OWPZΛར༻͢Δ͜ͱʹͨ͠ ɾαʔϏεຖʹ&OWPZΛTJEFDBSʹ͢Δ ɾ&OWPZͷMFBTU@SFRVFTUదͳෛՙࢄΛߦͬͨ ɾTJEFDBSͷσϓϩΠʹQSF4UPQϑοΫΛͬͨ ɾσϓϩΠ࣌ʹTMFFQΛͬͯυϨΠϯͤ͞Δ ˞&OWPZ େنͳαʔϏεࢦΞʔΩςΫνϟ͚ʹઃܭ͞Εͨɺ ߴੑೳ-ϓϩΩγ
None
None
$VSSFOU"SDIJUFDUVSF
0ME.POJUPSJOH4UBDL ͍ظؒͷσʔλΛQSPNFUFIVTʹอ͓࣋ͯ͠Γɺεέʔϧͨ͠߹ʹػೳ͠ͳ͘ͳͬͨ
/FX.POJUPSJOH4UBDL ɾ5IBOPTΛͬͨϞχλϦϯάελοΫͷҠߦ ɾظؒσʔλ4ʹ ˞5IBOPT 1SPNFUIFVTͷαΠυΧʔͱͯ͠ػೳ͢Δ ظετϨʔδ࠷దԽϛυϧΣΞ
'VUVSF"SDIJUFDUVSF
ɾҟͳΔ";ʹލΔΫϥελ ɾ$*$%Λ࣮ݱ ɾ1SPNFUIFVTͷࢄ
IUUQTHJUIVCDPNDODGMBOETDBQFUSBJMNBQ $MPVE/BUJWF 5SBJM.BQ
શͯͷαʔϏεͷίϯςφԽ $*$%ͷඋ ,VCFSOFUFTΫϥελͷඋ ϞχλϦϯάͷඋ αʔϏεϓϩΩγϝογϡͷར༻