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
K8s進捗報告
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
かびさん@あおかびん
February 02, 2019
Technology
380
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
K8s進捗報告
沖縄・宜野湾エンジニア勉強会 #6 in ギークハウス沖縄のLT発表資料です
かびさん@あおかびん
February 02, 2019
More Decks by かびさん@あおかびん
See All by かびさん@あおかびん
Okinawa.go Tour of Go! 説明資料
aokabin
0
1k
Kubernetes始めてみた
aokabin
0
1.1k
フリーランスの良さ悪さ
aokabin
1
520
2018年LT大会
aokabin
0
130
将来のためのコミュニティ活動
aokabin
0
160
Other Decks in Technology
See All in Technology
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
1
900
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.8k
【技術的負債conf】事業成長に伴う技術的負債の説明責任とAIによるモニタリング、認知的負債について
i35_267
3
2k
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
150
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2.3k
なぜ「決定性」が 決定的に重要なのか? Durable Execution 基盤の数理的理解 #serverlessjp / ServerlessDays Tokyo 2026
ytaka23
3
1.1k
SREの視点で考えるSIEM活用術 〜AWS環境でのセキュリティ強化〜
cscengineer
PRO
0
140
What the customer really needed
kawaguti
PRO
3
220
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
5
630
Von-Neumann Machines, Dreams & The Futures of IT
ufried
0
120
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
370
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
670
The agentic SEO stack - context over prompts
schlessera
0
940
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
[SF Ruby Conf 2025] Rails X
palkan
3
1.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
How to train your dragon (web standard)
notwaldorf
97
6.8k
How to Ace a Technical Interview
jacobian
281
24k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
290
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
530
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
510
Transcript
K8sਐḿใࠂ ۚ @d_ishitaka
ࣗݾհ • ͔ͼ͞Μˏऑ͍AI Twitter: @d_ishitaka • ླྀٿେֶֶ෦ใֶՊͷ4࣍ͷ24ࡀͰ͢ ࠓΞϥαʔͰ͢ • ݚڀ͠ͳ͕Β(?)TɾϫʔΫͯ͠·͢(ޏ༻/डୗ/४ҕ)
• AWSAbemaTVͰΠϯλʔϯͯͨ͠Γ͠·ͨ͠ • ͖ͳٕज़ΫϥυͱK8sͱGoͰ͢ • ब৬ઌະఆͰ͢ˡ
ࠓ͢͜ͱ • K8sॾʑͷਐḿใࠂ • VagrantΛͬͯKubernetesڥ • XxxxxxxΛಋೖͯ͠ര KubernetesΫϥελߏஙʁ
લճͨ͜͠ͱ
KubernetesΛ࢝Ίͨͱ͍͏ • ͬ͘͞Γ • DockerͷΫϥελϦϯάπʔϧͩʂ • ϓϩμΫγϣϯϨσΟͩʂ • ࠷ۙΫϥυ͕ରԠ࢝͠Ί͍ͯΔʂ •
DevOps͕Ճ͢Δʂʂʂ • ΊͬͪΌ͍͍Β͍͠ʂʂ
ͦͯ͠ɺલճ͔Βͷਐḿ
VagrantΛͬͯKubernetes • VagrantΛͬͯKubernetesڥΛ࡞ͬͨΓͯ͠·ͨ͠ • https://github.com/aokabin/kubernetes-practice/ issues
Kube-master Kube-node Kube-node ߏ
VagrantͬͯΈͯ • ྑ͍ • ಉ͡ڥΛ࡞Δͷ͕؆୯ʂ
VagrantͬͯΈͯ • ਏ͍ • ωοτϫʔΫͷઃఆʹؾΛ͚ͭͳ͍ͱେม • VagrantͱWi-FiͷωοτϫʔΫ͕ಉ͡ʹͳΔͱ͍͏͜ͱ͕͋ͬͯɺͪΌΜ ͱཧղͯ͠ͳ͍ͱେม • private_networkʹ໊લΛ͚ͭΔͱϗετ͔ΒଓͰ͖ͳ͍ͱ͔ɺͳΜ͔
৭ʑ͋ͬͨ • MacBook Pro1ͩͱߏ͢ΔͷʹεϖοΫ͕Γͳ͍ • Master1:Node2ͷߏɺͦͦKubernetesͷΤʔδΣϯτ͕·͊·͊Ϧ ιʔε৯͏ͷͰɺMaster2ίΞ2GBҎ্ɺNode2GBҎ্ͷεϖοΫ͕ ඞཁˠ4ίΞ6GBϝϞϦ৯ͪΌ͏
ͦͦϩʔΧϧʹK8sΜͰΈͯ • ྑ͍ • ͳΜͰͰ͖ͦ͏ͱ͍͏ສೳײ͕ ಘΒΕΔˡ
ͦͦVagrantʹK8sΜͰΈͯ • ਏ͍ • kubectlͷଓϋʔυϧ͕ҙ֎ͱߴ͍ • Vagrantͱ͍͏ΑΓɺΦϯϓϨߏஙͷϋʔυϧ • GKEAKSɺEKSK8sڥ͔ΒkubectlͰͷσϓϩΠ· Ͱ͕ΊͪΌͪ͘Ό؆୯ʹͰ͖Δ
• ϩʔϧɺΫϥελϩʔϧɺαʔϏεΞΧϯτ AuthenticationͷѲΛ͍ͯ͠ͳ͍ͱɺͦͦσϓϩΠ ·Ͱߦ͔ͳ͍ͱ͍͏͜ͱΛΒͳ͔ͬͨ
৽ͨͳݟͷೖख
Rancher Meetup
Rancher Meetup ߦ͚ͳ͔͚ͬͨͲʂʂʂ
ͱ͍͏Θ͚Ͱ • RancherΛಋೖ͠·ͨ͠
Rancherͱʁ • KubernetesΫϥελͷϚωʔδυαʔϏεΈ͍ͨͳͭ • ͋ΒΏΔϓϥοτϑΥʔϜ্ͷKubernetesΫϥελΛ ཧͰ͖Δʂ •
RancherΛͬͯΈͯ • ྑ͍ • Kuberneteڥͷߏங͕രʂʂ • μογϡϘʔυ͕ΊͬͪΌ៉ྷʂʂ • kubectlͷଓͱͯ؆୯ʂʂ •
ϩʔϧαʔϏεΞΧϯτσϑΥϧτͰઃ ఆ͞Ε͍ͯͯɺ͙͑͢Δʂʂ
RancherΛͬͯΈͯ • ਏ͍ • ϚγϯͷՃ࣌ɺωοτϫʔΫͷઃఆ͕(ry • rancher-agent͕ࣗಈىಈ͢Δίϯςφ͕ͳ͔ͥಈ͔ͳ͍ܥͷ(ಛ ʹূ໌ॻؔ)ɺղܾࡦ͕গͳ͗͢Δ • NodeͷՃ͕͏·͘ߦ͔ͳ͍ͱ͖ɺຊʹ͏·͘ߦ͔ͳͯͭ͘Β͍
• → ۜͷؙΛൃݟ͠·ͨ͠ • firewallͷઃఆͱ͔ɺͱʹ͔͘Rancherಠࣗͷαʔόʔઃఆ͕ҙ֎ͱଟ ͍(ͨͩɺҙ֎ͱSELinuxͱ͕͍͍)
·ͱΊ • K8sΛࣗͰؤுͬͯΉͱɺଟڥ࡞Δͷ͠ΜͲָ͗ͯ͘͢͠ແ͘ͳΔ • → RancherͰղܾ • ઌʹK8s͓͔ͬͯͳ͍ͱɺRancherΔͱ͖ʹɺௐࠪͷਂ͕͞ਂ͗ͯ͢ਏ͍ ͱࢥ͏ •
→ ಉ͡Α͏ʹDocker͓͔ͬͯͳ͍ͱK8sͷௐࠪͷਂ͕͞ਂ͗ͯ͢ਏ͍ͱ ࢥ͏ • RancherͬͯΫϥελΛ࡞ΔͱɺͳΜͰͰ͖Δͱ͍͏ສೳײΛಘΒΕΔͷ ͰɺRancherґଘʹͳΔ(ͳΒͳ͍) • Rancherશʹཧղͨ͠ͷͰɺK8sͬͨφ͍γεςϜͮ͘Γͷ͓ࣄืू
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠
ࠓϋοΧʔζνϟϯϓϧʔདྷͯͶʂ • ԭೄͷΤϯδχΞͷ ͓ࡇΓʂʂ • ։࠵ఔ: 6݄ऴΘΓࠒ~7݄͡Ίࠒ