Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Kubernetesを使うことによるメリットと注意点
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
jogannaoki
July 17, 2019
2.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kubernetesを使うことによるメリットと注意点
jogannaoki
July 17, 2019
More Decks by jogannaoki
See All by jogannaoki
エンジニアの越境
jogannaoki
0
6.2k
[re:Growth 2019] Fargate for EKS
jogannaoki
0
1.2k
DeepRacer DeepDive
jogannaoki
0
1.1k
Developers.IO 2018 BaaSでゲームインフラをスピード構築
jogannaoki
1
980
Featured
See All Featured
Scaling GitHub
holman
464
140k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
520
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Cult of Friendly URLs
andyhume
79
7k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
410
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
560
Transcript
,VCFSOFUFTΛ͏͜ͱ ʹΑΔϝϦοτͱҙ "84ࣄۀຊ෦ίϯαϧςΟϯά෦؛ر
ࠓ͢͜ͱ w ,VCFSOFUFTͱʢͬ͘͟Γ w ,VCFSOFUFTΛ͏͜ͱʹΑΔϝϦοτ w ,VCFSOFUFTͷҙ
,VCFSOFUFTͱ
,VCFSOFUFTͱ w ίϯςφԽ͞ΕͨΞϓϦέʔγϣϯΛಈ͔ͨ͢ ΊͷϓϥοτϑΥʔϜ w σϓϩΠɺεέʔϦϯάͳͲΛࣗಈԽ w ίϯςφΦʔέετϨʔγϣϯπʔϧͷσϑΝ Ϋτ
Nodes Master Kubernetes Cluster ,VCFSOFUFTͷΠϯϑϥߏ
Nodes Master ,VCFSOFUFTͷΠϯϑϥߏ ɾk8sΫϥελΛཧ͢ΔͨΊͷ ίϯϙʔωϯτ܈ ɾk8sཧ༻ͷΤϯυϙΠϯτͳͲ Kubernetes Cluster
Master ,VCFSOFUFTͷΠϯϑϥߏ ɾίϯςφͷ࣮ߦڥ Nodes Kubernetes Cluster
,VCFSOFUFTͷجຊૢ࡞ Nginxίϯςφ࡞͍ͨ͠ͳʔ LTͷΦϒδΣΫτΛఆٛͨ͠ϚχϡϑΣετϑΝΠϧΛ࡞ $-*πʔϧʢLVCFDUMʣͳͲΛར༻͠Ϋϥελʹର͠σϓϩΠࢦࣔ $ kubectl apply -f pod.yaml Master
ͬ͘͟Γݴ͏ͱ LTΫϥελ͕͋Δલఏ
:".-Λॻ͘
Master σϓϩΠࢦࣔ $ kubectl apply -f pod.yaml
/PEFʹίϯςφ͕ஔ͞ΕΔ Nodes Master Nginxίϯςφσϓϩͯ͠ʔ Γΐ͏͔͍
,VCFSOFUFTΛ ͏͜ͱʹΑΔϝϦοτ
*OGSBTUSVDUVSFBT$PEF ʹΑΔߏཧ
Nodes Master ΫϥελͷϦιʔε:".-Ͱ ཧ YAML k8sͷΦϒδΣΫτΛYAMLͰఆ ٛͰ͖Δ ผΫϥελͰಉ࣮͡ߦڥΛߏங ͢Δͷ༰қ
ΤίγεςϜͷ͕Γͱ࿈ܞ
ͲΜͲΜग़ͯ͘ΔLTͷΤίγεςϜ
ύοέʔδϚωʔδϟ
w ΞϓϦέʔγϣϯΛՄಈͤ͞ΔͨΊͷߏϑΝ ΠϧΛ·ͱΊͯσϓϩΠ͢Δπʔϧ w ༷ʑͳΞϓϦέʔγϣϯͷςϯϓϨʔτ͕ެ։ ͞Ε͍ͯΔ
$%πʔϧ
w ϚϧνΫϥυڥͷܧଓతσϦόϦʔπʔϧ w ΧφϦΞϦϦʔεͳͲߴͳσϓϩΠΛ࣮ݱ͢Δ ͜ͱՄೳ
w (JU0QTΛ࣮ݱ͢ΔͨΊͷπʔϧ w Ϋϥελͷதʹ"SHP$%ͷίϯϙʔωϯτΛσ ϓϩΠ͠(JU)VC্ͷϚχϡϑΣετͱಉظ w 6*͕៉ྷ
ࢹɺϚΠΫϩαʔϏεɺ ηΩϡϦςΟɺɺɺ
ڊਓͷݞʹΕΔ
,VCFSOFUFTͷҙ
ӡ༻ʹ͓͍ͯ
ΫϥελΞοϓσʔτͷै w ,VCFSOFUFT &,4 ϲ݄ʹճΞοϓσʔτ w αϙʔτ͞ΕΔόʔδϣϯ࠷৽͔Βόʔδϣ ϯ·Ͱ w Ξοϓσʔτʹै͍ͯ͘͠ඞཁ͕͋Δ
͕ൃੜͨ࣌͠ͷରԠ w ൃੜ࣌ʹରԠͰ͖ΔΤϯδχΞ͕ඞཁ w ֤ΦϒδΣΫτͷؔͳͲཧղ͢Δඞཁ͕͋ ΔͨΊӡ༻୲ऀʹؙ͓͛ͦΒ͘ແཧ w ΫϥελߏஙʹܞΘͬͨਓ͕Ϋϥελͷ໘Λ ݟ͍ͯ͘ͷ͕ྑ͍ʢ43&ͳͲʣ
·ͱΊ w ,VCFSOFUFTίϯςφ࣮ߦڥʢ*B$ʣ w ΤίγεςϜ͕ॆ࣮͍ͯ͠Δ w LTͷӡ༻·Ͱߟ͑ͯͷ࠾༻Λݕ౼͢Δ
͓·͚
͋Εʁ"84Ͱߏங͢ΔͷͰ͋Ε &$4ʢ'BSHBUFʣͰ͍͍Μ͡ΌͶʁ
ͨͿΜɺଟ͘ͷ߹'BSHBUFΛ ͬͨํ͕ͤʹͳΕΔͱࢥ͏ ͚ͲɺLTָ͍ͧ͠ʂʂ