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
600
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
990
naist colloquium-B 2
shanpu
0
170
ricc-20210826
shanpu
0
430
IOT53
shanpu
0
38
RICC-PIoT Workshop 2021
shanpu
0
540
ricc-nii-2020
shanpu
0
93
Cloud Native Kansai #05 LT4
shanpu
1
900
kubernetes-seminar
shanpu
0
150
KansaiLT2
shanpu
0
210
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
39
2.3k
The Cost Of JavaScript in 2023
addyosmani
43
5.8k
How to Think Like a Performance Engineer
csswizardry
16
1k
The Art of Programming - Codeland 2020
erikaheidi
50
13k
Designing on Purpose - Digital PM Summit 2013
jponch
114
6.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.5k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
Building Better People: How to give real-time feedback that sticks.
wjessup
360
19k
The Invisible Customer
myddelton
119
13k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
327
21k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
23
1.7k
Statistics for Hackers
jakevdp
796
220k
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