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
インフラをつくるとはどういうことなのか、 あるいはPlatform Engineeringについて
nwiizo
6
3k
Platform Engineeringは自由のめまい
nwiizo
4
2.2k
Site Reliability Engineering on Kubernetes
nwiizo
6
5.1k
メインテーマはKubernetes
nwiizo
2
460
SREの前に
nwiizo
12
3.6k
2024年版 運用者たちのLLM
nwiizo
5
1k
Platform Engineering と SRE の門
nwiizo
17
6.1k
運用者の各領域で向き合うLLM
nwiizo
1
520
可観測性ガイダンス
nwiizo
14
3.9k
Other Decks in Technology
See All in Technology
CDKのコードを書く環境を作りました with Amazon Q
nobuhitomorioka
1
150
OPENLOGI Company Profile
hr01
0
60k
ウォンテッドリーのデータパイプラインを支える ETL のための analytics, rds-exporter / analytics, rds-exporter for ETL to support Wantedly's data pipeline
unblee
0
110
コンテナサプライチェーンセキュリティ
kyohmizu
1
130
あれは良かった、あれは苦労したB2B2C型SaaSの新規開発におけるCloud Spanner
hirohito1108
2
910
実は強い 非ViTな画像認識モデル
tattaka
1
1.1k
次世代KYC活動報告 / 20250219-BizDay17-KYC-nextgen
oidfj
0
460
Iceberg Meetup Japan #1 : Iceberg and Databricks
databricksjapan
0
290
脳波を用いた嗜好マッチングシステム
hokkey621
0
270
OpenID BizDay#17 KYC WG活動報告(法人) / 20250219-BizDay17-KYC-legalidentity
oidfj
0
450
Swiftの “private” を テストする / Testing Swift "private"
yutailang0119
0
140
クラウドサービス事業者におけるOSS
tagomoris
3
970
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
Become a Pro
speakerdeck
PRO
26
5.2k
Unsuck your backbone
ammeep
669
57k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
The World Runs on Bad Software
bkeepers
PRO
67
11k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Bash Introduction
62gerente
611
210k
Site-Speed That Sticks
csswizardry
4
400
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Writing Fast Ruby
sferik
628
61k
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