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
Introduction to containers and beyond
Search
nwiizo
December 19, 2019
Technology
33
4.1k
Introduction to containers and beyond
社内向け勉強会 コンテナ入門とその先
https://gist.github.com/nwiizo/4926c004c7dafa28bcb9b7eb645be67e
nwiizo
December 19, 2019
Tweet
Share
More Decks by nwiizo
See All by nwiizo
転職したらMCPサーバーだった件
nwiizo
3
1.5k
ここはMCPの夜明けまえ
nwiizo
32
13k
生成AIによるCloud Native基盤構築の可能性と実践的ガードレールの敷設について
nwiizo
7
1.4k
Kubernetesで実現できるPlatform Engineering の現在地
nwiizo
3
2k
SLI/SLO・ラプソディあるいは組織への適用の旅
nwiizo
4
1.4k
インフラをつくるとはどういうことなのか、 あるいはPlatform Engineeringについて
nwiizo
6
4.6k
Platform Engineeringは自由のめまい
nwiizo
4
2.6k
Site Reliability Engineering on Kubernetes
nwiizo
6
6.1k
メインテーマはKubernetes
nwiizo
2
510
Other Decks in Technology
See All in Technology
Next.jsと状態管理のプラクティス
uhyo
6
2.2k
Previewでもここまで追える! Azure AI Foundryで始めるLLMトレース
tomodo_ysys
2
680
LangfuseではじめるAIアプリのLLMトレーシング
codenote
0
170
製造業向けIoTソリューション提案資料.pdf
haruki_uiru
0
260
Pythonデータ分析実践試験 出題傾向や学習のポイントとテクニカルハイライト
terapyon
1
150
分解し、導き、託す ログラスにおける“技術でリードする” 実践の記録
hryushm
0
230
20250514 1Passwordを使い倒す道場 vol.1
east_takumi
0
120
CARTA HOLDINGS エンジニア向け 採用ピッチ資料 / CARTA-GUIDE-for-Engineers
carta_engineering
0
27k
250510 StepFunctionのテスト自動化始めました vol.1
east_takumi
1
230
既存の開発資産を活かしながら、 《新規開発コスト抑制》と《開発体験向上》 を両立する拡張アーキテクチャ事例
kubell_hr
0
220
データベース04: SQL (1/3) 単純質問 & 集約演算
trycycle
PRO
0
730
UIパフォーマンス最適化: AIを活用して100倍の速度向上を実現した事例
kinocoboy2
0
260
Featured
See All Featured
Designing for humans not robots
tammielis
253
25k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Balancing Empowerment & Direction
lara
0
10
Being A Developer After 40
akosma
91
590k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Thoughts on Productivity
jonyablonski
69
4.6k
A better future with KSS
kneath
239
17k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.7k
4 Signs Your Business is Dying
shpigford
183
22k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
33k
Transcript
None
2
• • • • •
None
プロセスからコンテナ、そして…
• • • • • • • • • •
• •
• • • • • •
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ Linuxの主な概念 ふつうのLinuxプログラミング 第2版 Linuxの仕組みから学べるgccプログラミングの王道
⚫ ⚫ ⚫ ⚫ ⚫ ⚫
⚫
⚫ 12
https://employment.en-japan.com/engineerhub/entry/2019/02/05/103000 コンテナ技術入門 - 仮想化との違いを知り、要素技術を触って学ぼう
⚫
⚫
⚫
⚫ ⚫ ⚫ ⚫ https://www.docker.com/
None
None
None
None
None
None
None
⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫
⚫ ⚫
⚫ ⚫ ⚫
⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫ ⚫ ⚫
None
None
• • • • • • • • • •
Image Source and Credits: http://docker-saigon.github.io/post/Docker-Internals/
https://12factor.net/ja/
None
None
None
None
None
None
None
None
None
None
None
None
⚫ ⚫ https://ai.google/research/pubs/pub43438 Large-scale cluster management at Google with Borg
⚫ ⚫
⚫ ⚫ ⚫ ⚫ ⚫ ⚫
None
⚫ ⚫ ⚫ ⚫ ⚫
None
https://kubernetes.io/docs/concepts/overview/components/#kube-controller-manager
None
None
⚫ ⚫ ⚫ ⚫
None
None
None
None
None
None
None
None
None
None
None
⚫ ⚫
None
テンプレート containerの変更 v1 v2
テンプレート containerの変更 v1 v2
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
⚫ ⚫ replicaset.yaml
None
⚫ ⚫ ⚫ ⚫ https://blog.cybozu.io/entry/2019/07/03/170000 お手軽Kubernetesクラスタ作成ツール “kind”の紹介より
None
None
None
None
None
None
None
None
None
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫ ⚫ ⚫
None
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ IX. 廃棄容易性 https://12factor.net/ja/disposability
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
Container Lifecycle Hooks
None
None
⚫ ⚫ ⚫ ⚫ The Gotchas of Zero-Downtime Traffic /w
Kubernetes - Leigh Capili, Weaveworks https://kccncna19.sched.com/event/Uads/the-gotchas-of-zero-downtime-traffic- w-kubernetes-leigh-capili-weaveworks
⚫ ⚫ The Gotchas of Zero-Downtime Traffic /w Kubernetes -
Leigh Capili, Weaveworks https://kccncna19.sched.com/event/Uads/the-gotchas-of-zero-downtime-traffic- w-kubernetes-leigh-capili-weaveworks @tukejonny 談
None
https://12factor.net/ja/config
⚫ ⚫ ⚫ ⚫ https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/
None
None
⚫ ⚫ ⚫ ⚫ https://kubernetes.io/docs/tasks/run-application/configure-pdb/
None
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫
None
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫ ⚫ ⚫
None
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ Vertical Pod
Autoscaling Horizontal Pod Autoscaler
None
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ この辺は別途説明が必要なので割愛だお
None
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫
⚫ ⚫
⚫ ⚫
⚫ ⚫
⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫
⚫ ⚫ ⚫ ⚫ ⚫
None
⚫ ⚫ ⚫ ⚫
None
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫
None
⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫
None