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
gcpug-kyoto#2-LT1
Search
Tomoki Sugiura
May 25, 2019
0
620
gcpug-kyoto#2-LT1
Tomoki Sugiura
May 25, 2019
Tweet
Share
More Decks by Tomoki Sugiura
See All by Tomoki Sugiura
CiliumによるKubernetes Network Policyの実現 CNDT2021
shanpu
0
1k
naist colloquium-B 2
shanpu
0
180
ricc-20210826
shanpu
0
450
IOT53
shanpu
0
50
RICC-PIoT Workshop 2021
shanpu
0
570
ricc-nii-2020
shanpu
0
97
Cloud Native Kansai #05 LT4
shanpu
1
920
kubernetes-seminar
shanpu
0
150
KansaiLT2
shanpu
0
220
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Designing Experiences People Love
moore
138
23k
Documentation Writing (for coders)
carmenintech
66
4.5k
BBQ
matthewcrist
85
9.4k
A Philosophy of Restraint
colly
203
16k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Invisible Side of Design
smashingmag
298
50k
The Language of Interfaces
destraynor
154
24k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Practical Orchestrator
shlominoach
186
10k
Transcript
GKE ҆͞ͷݶքΉ ($16(,ZPUP-5 SEL@KIT
ຊͷLTͷ༰ͱత !2 ˓ (,&ΫϥελΛ҆͘ߏஙɾӡ༻͢Δํ๏Λհ͢Δ ˓ ͓ۚΛΘͤΑ͏ͱ͢Δ($1 ($1ѱಙαʔϏεͰͳ͍ ͱυένͳ େֶੜͷઓ͍ͷهΛ͍ͨ͠
͓͠ͳ͕͖ !3 ˓ ΫϥελΛ Ͱ͖Δ͚ͩ҆͘ ࡞Δ ˓ ΫϥελʹσϓϩΠͨ͠ΞϓϦέʔγϣϯΛ Ͱ͖Δ͚ͩ҆͘ ֎෦ެ։͢Δ
GCP AlwaysFree !4 ˓ ($1ʹ"MXBZT'SFFͱΑΕΔ ৗʹແྉͷ༻͕͋Δ ˓ Ϋϥελ࡞ʹؔΘΔແྉ ˔ (,&ɿΫϥελཧखྉແྉ
˔ (PPHMF$PNQVUF&OHJOFɿ ɹɹɹGNJDSPҰແྉ
҆͘ΫϥελΛ࡞Δ !5 ˓ GNJDSPͭͰΫϥελΛ࡞Δ ˔ GNJDSPϊʔυ͕Ұ൪͍҆ ˗ Ұͭ͋ͨΓ<υϧEBZ> ˔ GNJDSPͷεϖοΫ
W$16YɼϝϞϦ(#
ൃੜ
҆͘ΫϥελΛ࡞Δ !7 ˓ LVCFEOT͕QFOEJOHͰࢭ·ͬͨ··ʹͳΔ ˔ ͦͷͨΊ໊લղܾෆՄ ˔ LVCFDUMUPQ͑ͳ͍ ˔ ݪҼϝϞϦෆ
($1ίϯιʔϧʹͯ֬ೝ ˓ LVCFDUMHFUQPBMMOBNFTQBDFTͯ͠ΈΔ ˔ ϞχλϦϯάؔ࿈ͷ1PE͕͍ͬͺ͍SVOOJOOHͯ͠Δ ˔ 4UBDLESJWFS-PHHJOHͱ4UBDLESJWFS.POJUPSJOHΛແޮ ˠղܾ☺
͜ͷૉΒ͍͠Ϋϥελʹ֎෦ૄ௨ੑΛʂ !8 ˓ ֬ೝ༻ʹ%FQMPZNFOUͰOHJOY QPEΛ༻ҙ ˓ ϒϥβ͔ΒΞΫηε͍ͨ͠ʂ ˓ 4FSWJDFLJOE-PBE#BMBODFS ΛBQQMZ
˔ ($1ఏڙͷ-PBE#BMBODFS͕༻ҙ ͞ΕΔ ˔ ʙͭͱάϩʔόϧ*1͕ɹ ׂΓͯΒΕΔ
͜ͷૉΒ͍͠Ϋϥελʹ֎෦ૄ௨ੑΛʂ !9
None
͜ͷૉΒ͍͠Ϋϥελʹ֎෦ૄ௨ੑΛʂ !11 ˓ ($1-PBE#BMBODJOHผྉۚ ˓ ֹ݄ԁ
-#ʹ͓ۚ͏ͷ͍ͬͨͳ͘ͳ͍͔ʜʁ
ํ๏1 port-forwardΛ͏ !13 ˓ LVCFDUMQPSUGPSXBSEEFQMPZEFNPEFQMPZNFOU ˓ ϒϥβͰMPDBMIPTUʹΞΫηε ˓ ͍͍ͪͪQPSUGPSXBSE͢ΔͷΊΜͲ͏ʜ
˔ ը໘༗͞ΕΔ
ํ๏2 NodePortΛ͏ !14 ˓ /PEFʹσϑΥϧτͰ֎෦*1ׂ͕Γ ৼΒΕ͍ͯΔ ˔ LVCFDUMHFUOPPXJEFͰݟΕΔ ˓ ϊʔυ͕֎෦ʹެ։͞Ε͍ͯΔͳΒ
/PEF1PSUͰ։͚ͯ͋͛Δ͚ͩͰ͍ ͍ʂ ˓ ϑΝΠΞΥʔϧͷઃఆΕͣʹ ˔ ωοτϫʔΩϯάʼ 71$ωοτϫʔΫʼ ϑΝΠΞΥʔϧϧʔϧ
ํ๏2 NodePortΛ͏ !15
None
-ϩʔυόϥϯαཉ͍͠
L7ϩʔυόϥϯα͕ཉ͍͠ !18 ˓ (,&Ͱ4FSWJDFLJOE*OHSFTT ҰൃͰͰ͖Δ ˔ ($1͕༻ҙͯ͘͠ΕΔ ˔ ϊʔυྉۚͱผͰ͓͕͔͔ۚΔ ˓
ཁOHJOYJOHSFTTDPOUSPMMFS ͕͋Ε͍͍
ͦ͏ͩɼΫϥελʹ*OHSFTTΛ༻ҙ͠Α͏
L7ϩʔυόϥϯα͕ཉ͍͠ !20 ˓ *OTUBMMํ๏/HJOY*OHSFTT $POUSPMMFSެࣜαΠτʹهࡌ͞ Ε͍ͯΔ ˔ ֎෦ૄ௨ੑ/PEF1PSUͰ֬อ ˓ ϚγϯϦιʔε͕ΓΕՃ
ྉۚͳ͠
ൃੜ
404Τϥʔ !22 ˓ ΞΫηε͢Δͱ͕ฦͬͯ͘Δ ˔ *OHSFTTԼͷαʔϏεਖ਼ৗʹೝࣝ͞Ε͍ͯΔ ˔ *OHSSFTT$POUSPMMFS*OHSFTTͷ$3&"5&ΠϕϯτΛ ݕ͍ͯ͠Δ ˔
ϩάΛݟΔͱࢥΘΕΔՕॴ͕ͳ͍ ˔ ࠓޙཁௐࠪ ˔ Γ՝ۚͨ͠ऀ͕ڧ͍
ϞχλϦϯάΛ༗ޮʹ͍ͨ͠ !23 ˓ ϊʔυΛ૿͢ଞͳ͠ ˓ ஈΛ͑ΔͳΒQSFFNQUJWF ϊʔυΛݕ౼ ˔ ࣌ؒʹҰམͪΔ ˔
ΊͪΌͪ͘Ό͍҆ ˔ ˠ<υϧIPVS> OTUBOEBSE ˓ ઌʹϊʔυϓʔϧΛՃ͔ͯ͠ ΒϞχλϦϯάΛ༗ޮʹ͢Δ
ίετܭࢉ (ࡉ͔͍ͷΛআ͘) !24 ˓ GNJDSPº Ұແྉ ˔ <υϧEBZ>º<OPEF>º<EBZNPOUI><υϧNPOUI> ˓
QSFFNQUJWFOTUBOEBSEº ˔ <υϧEBZ>º<OPEF>º<EBZNPOUI><υϧNPOUI> ˓ ετϨʔδ ˔ <υϧNPOUI>º<(#>º<OPEF><υϧNPOUI> ˓ 5PUBM ˔ <υϧNPOUI> ˔ º<NPOUI>υϧ
(,&Ͱָ͍͠,VCFSOFUFTϥΠϑΛʂ
ࢀߟ !26 ˓ ($1DPNQVUFFOHJOFʹ͍ͭͯ ˔ IUUQTDMPVEHPPHMFDPNDPNQVUFQSJDJOH ˓ ($1ίετݟੵΓ ˔ IUUQTDMPVEHPPHMFDPNQSPEVDUTDBMDVMBUPS
˓ /HJOY*OHSFTT$POUSPMMFS ˔ IUUQTLVCFSOFUFTHJUIVCJPJOHSFTTOHJOY