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
Satoru Takeuchi
PRO
September 11, 2021
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kubernetesの基礎の基礎(デモ編)
以下動画のテキストです。
https://youtu.be/oe6bUfvJ_u4
Satoru Takeuchi
PRO
September 11, 2021
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
79
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
110
あなたの知らないバージョン命名規則
sat
PRO
3
920
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
74
Machine Check Exception
sat
PRO
2
71
バイナリダンプの模様を読む
sat
PRO
0
110
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
110
114-ファイルのshallow_copy.pdf
sat
PRO
2
62
113-Btrfsのスナップショット.pdf
sat
PRO
0
46
Other Decks in Technology
See All in Technology
大型犬好きによるPugの紹介
yamanoku
1
160
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
130
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
230
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
110
Rust で関数型ドメインモデリング
takonda
0
140
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
Metadata - Section 1: HTML Basics
mohab1
0
120
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
860
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
Featured
See All Featured
It's Worth the Effort
3n
188
29k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Six Lessons from altMBA
skipperchong
29
4.5k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
The agentic SEO stack - context over prompts
schlessera
0
970
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
750
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
Transcript
Kubernetesの基礎の基礎(デモ編) Sep, 11st, 2021 Satoru Takeuchi twitter: satoru_takeuchi
デモの内容 1. Kindというコマンドを使ってK8sクラスタを作る 2. ユーザがDeploymentのマニフェストをapply 3. しばらくしてからK8sがその後に色々やってくれたことを確認 ◦ Deploymentリソースの作成 ◦
Replicasetリソースの作成 ◦ replicasフィールドの値だけPodリソースを作成 ◦ K8sがPodリソースに対応するコンテナを実行 4. ユーザがnginxコンテナを殺してもK8sが復活させることを確認 5. ユーザがPodリソースを消してもK8sが復活させることを確認 2
ユーザがkindでk8sクラスタを作る • kind create cluster 3 K8sクラスタ クラスタ 作って
ユーザがDeploymentのマニフェストをapply • kubectl apply nginx.yaml 4 K8sクラスタ アプリのマニフェスト よろしく
K8sがコンテナまで作ってくれる 5 K8sクラスタ ReplicaSetリソース Deploymentリソース Podリソース Podリソース nginxコンテナ nginxコンテナ
ユーザが気まぐれにnginxコンテナを殺す • sudo kill <nginxのmasterプロセスのpid> • kubectl get pod 6
K8sクラスタ ReplicaSetリソース Deploymentリソース Podリソース Podリソース nginxコンテナ nginxコンテナ 死んで
ユーザが気まぐれにnginx Podを殺す • kubectl delete pod nginx-XXX • kubectl get
pod 7 K8sクラスタ ReplicaSetリソース Deploymentリソース Podリソース Podリソース nginxコンテナ nginxコンテナ 死んで
参考サイト • kindの公式ページ ◦ https://github.com/kubernetes-sigs/kind