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
KubernetesHandson
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Aoi Takahashi
January 31, 2020
Programming
820
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
KubernetesHandson
Aoi Takahashi
January 31, 2020
More Decks by Aoi Takahashi
See All by Aoi Takahashi
絵ではじめるKubernetesセキュリティ
aoi1
5
730
インフラが苦手でも大丈夫! 紙芝居 Kubernetes -WWGT 10周年編-
aoi1
1
520
The Grand Adventure of Production Apps: Build, Break, and Survive!
aoi1
0
1.2k
完璧じゃなくていい!今日からはじめるアウトプットのススメ
aoi1
4
2.6k
なんとなくわかるDocker・Kubernetes
aoi1
3
1.7k
30分でわかるつくって、壊して、直して学ぶ Kubernetes入門
aoi1
8
2.1k
多様な学びのスタイルからできた 「つくって、壊して、直して学ぶKubernetes入門」
aoi1
2
2k
5分で始める「つくって、壊して、直して学ぶKubernetes入門」
aoi1
2
2.5k
Kubernetesは怖くない!開発者のためのインフラトラブルシューティング入門
aoi1
12
7.8k
Other Decks in Programming
See All in Programming
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
230
setup-vp GitLab対応の裏側
naokihaba
0
150
Simple Storage Service(S3) is not simple
iwatsukayura
0
120
iOSDC2026登壇資料.pdf
riofujimon
0
200
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
530
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.1k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
390
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
400
AWSに止められる覚悟してますか?
morizo_1984
2
500
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
170
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
380
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
160
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
260
Thoughts on Productivity
jonyablonski
76
5.4k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
460
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
690
Designing Powerful Visuals for Engaging Learning
tmiket
1
590
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
300
A Soul's Torment
seathinner
8
3.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Visualization
eitanlees
153
17k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
410
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Transcript
Kubernetes ϋϯζΦϯ
ࣗݾհ • ͓͍͋(@_a0i) • αΠϘζגࣜձࣾSRE •
Kubernetesͱ
…ͷલʹ
ίϯςφΛຊ൪Ͱ ͏ͱ͖ʹ Ͳ͏͍͏͜ͱ͕ඞཁʁ
ίϯςφΛຊ൪ӡ༻͢Δࡍ Γͨ͘ͳΔͩΖ͏͜ͱ ɾෳίϯςφΛಉ࣌ʹ্ཱ͍ͪ͛ͨ ɾίϯςφΛԽ͍ͨ͠ ɾωοτϫʔΫΛ্ख͍͜ͱΓ͍ͨ ͳͲͳͲ
͜ΕΒΛ KubernetesͰ ղܾʂ
Kubernetesͱ • ίϯςφΦʔέετϨʔγϣϯπʔϧ • ଞʹDocker ComposeDocker Swarm • ෳίϯςφΛຊ൪ӡ༻͢ΔͨΊʹཉ͍͠ɺ ඞཁͳػೳΛ৭ʑऔΓἧ͍͑ͯΔ
Kubernetesͷಛ
Kubernetesͷಛ • એݴܕͰ͋Δ • ࣗݾճ෮ੑ • ImmutableͰ͋Δ
એݴܕͰ͋Δ
એݴܕͰ͋Δɺͱ • એݴܕ⁶खଓ͖ܕ • ঢ়ଶΛʮએݴʯ͢Δ • Kubernetesએݴ͞Εͨঢ়ଶʹۙ͘Α͏ಈ͘ ʢReconcile)
એݴܕͱ
ࣗݾճ෮ੑ
Kubernetesͷࣗݾճ෮ੑ • એݴܕͰ͋Δɺ͜ͱͷ݁ՌͰ͋Δ • Ήঢ়ଶΛએݴ͓ͯ͘͠ͱɺ్தͰো͕ى͖ ͯԿΛ͢Ε͍͍͔Kubernetes͕উखʹ அ͢Δ • खଓ͖ܕA→B→Cͷ్தͰো͕ى͖ͨΒ ࠶։͢Δͱ͜Ζ͔Βࢦࣔ͠ͳ͚Ε͍͚ͳ͍
DeploymentͰ࡞ͨ͠PodΛফ͢
Immutable
ैདྷͷΠϯϑϥ • αʔόʔΛ্ཱͪ͛ɺιϑτΣΞΛΞο ϓσʔτ͢Δӡ༻ͩͬͨ • ৭ʑͳਓ͕ӡ༻ʹؔΘΓɺஈʑԿ͕Ͳ͏ͳͬ ͍ͯΔ͔Θ͔Βͳ͘ͳ͍ͬͯ͘
ImmutableͳγεςϜ • ຖճ৽͘͠αʔόʔΛ࡞Δ • ৽نίϯςφΠϝʔδΛݩʹίϯςφΛ࡞ Γ͢
Kubernetesͷ ΞʔΩςΫνϟʔ
ਤࢀরɿIUUQTCMPHIFQUJPDPNDPSFLVCFSOFUFTKB[[JNQSPWPWFSPSDIFTUSBUJPOBFBDB
Ϧιʔεͷઆ໌
KubernetesͷදతϦιʔε • Node • Pod • Deployment • Service
Node • ίϯςφΛσϓϩΠ͢Δαʔόʔ • ཧɺԾΘͳ͍
Pod • KubernetesͰσϓϩΠ͢Δ୯Ґ • Ϋδϥͷ܈ΕΛPodͱ͍͏ • PodʹෳίϯςφͤΔ͜ͱ͕Ͱ͖Δ
Deployment • ࢦఆͨ͠PodͷΛҡ࣋͠ଓ͚ΔͨΊͷ ReplicaSetΛཧ͢Δ • ReplicaSetΛ࡞͢Δ͜ͱͰ͖Δ͕ɺجຊ DeploymentΛར༻͢Δ • ϩʔϧόοΫϩʔϦϯάΞοϓσʔτʹର Ԡ
Service • Pod֎͔ΒPodʹΞΫηε͢ΔͨΊʹར༻͢Δ Ϧιʔε
ࢀߟࢿྉ
ϦϯΫ • Kubectl cheat sheet • https://kubernetes.io/docs/reference/kubectl/cheatsheet/