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
3.8k
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
書を捨てよ、現場へ出よう
nwiizo
12
10k
走馬灯のIaCは考えておいて
nwiizo
8
5.2k
SREとPlatform Engineerの交差点
nwiizo
7
5.4k
SREからPlatform Engineerへの拡大
nwiizo
14
3.4k
k8sgpt Deep Dive: KubernetesクラスタのAI駆動型分析について
nwiizo
1
1.6k
Cloud Native の作法
nwiizo
8
6.7k
2023年もSRE再考と叫びなさい‼️
nwiizo
12
5.2k
自由研究には向かないウェブオペレーション
nwiizo
4
3.4k
ポストモーテムはじめました
nwiizo
3
1.6k
Other Decks in Technology
See All in Technology
【NW X Security JAWS#3】L3-4:AWS環境のIPv6移行に向けて知っておきたいこと
shotashiratori
0
380
Python と Snowflake はズッ友だょ!~ Snowflake の Python 関連機能をふりかえる ~
__allllllllez__
1
120
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
260
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
930
require(ESM)とECMAScript仕様
uhyo
3
780
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
390
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
2
190
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
530
DMM.com アルファ室採用案内資料
hsugita
1
160
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
5
530
Além do else! Categorizando Pokemóns com Pattern Matching no JavaScript
wmsbill
0
640
競技としてのKaggle、役に立つKaggle
yu4u
3
1.9k
Featured
See All Featured
Faster Mobile Websites
deanohume
299
30k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
YesSQL, Process and Tooling at Scale
rocio
164
13k
A Philosophy of Restraint
colly
197
16k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Agile that works and the tools we love
rasmusluckow
325
20k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
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