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
KubernetesとDeclarative Configuration
Search
Tomoya Tabuchi
March 09, 2019
Programming
450
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
KubernetesとDeclarative Configuration
CAMPHOR- Day 2019 (
https://camphor.connpass.com/event/119434/
) での発表資料.
Tomoya Tabuchi
March 09, 2019
More Decks by Tomoya Tabuchi
See All by Tomoya Tabuchi
Docker Hands On
tomoyat1
1
420
meltdown.pdf
tomoyat1
0
48
Other Decks in Programming
See All in Programming
初めての模倣学習とVLA
natsutan
0
280
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
720
ソフトウェアラスタライザ
fadis
1
690
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
220
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
380
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
180
不幸な GC
chencmd
0
780
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
2
230
Deep dive into the select statement (GopherCon UK)
jespino
0
130
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
190
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.8k
VibeCodingからAgenticWorkflowへ
starfish719
0
900
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
sira's awesome portfolio website redesign presentation
elsirapls
0
350
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
エンジニアに許された特別な時間の終わり
watany
108
250k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
450
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The agentic SEO stack - context over prompts
schlessera
0
880
Claude Code のすすめ
schroneko
67
230k
GraphQLとの向き合い方2022年版
quramy
50
15k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Transcript
Kubernetes とDeclarative Configuration 2019-03-09 Tomoya Tabuchi (@tomoyat1) 1 / 10
本日のお話 • Kubernetes とは? • Declarative Configuration • Reconciliation Loop
• 具体例 (デモ) 2 / 10
Kubernetes1とは? • コンテナを中心としたプラットフォーム? • 計算・ネットワーク・ストレージの管理? • 分散コンピューティング? 今日は Declarative Configuration
の観点から紹介 1https://kubernetes.io/ 3 / 10
Declarative Configuration どのリソースがどれだけあるかを宣言することで構成を定義する # hello-kube のコンテナを 1 つ動かしたい! # (今日は
YAML の仕様を理解しなくてよいです) kind: Deployment spec: replicas: 1 # 動かす個数 template: spec: containers: # コンテナの仕様 - image: gcr.io/tomoyat1-artifacts/hello-kube:v0.0.1 name: hello-kube 宣言するだけで構成が勝手にそれに近づく! →どうやって? 4 / 10
Reconciliation Loop • 観測・差分計算・操作のループ • リソースごとに別コンポーネント がループを実行 5 / 10
コンテナ (Pod) 数の維持 – 具体例 6 / 10
イメージの変更 – 具体例 7 / 10
external-dns, cert-manager – 具体例 • external-dns2: DNS レコードの管理を行う Add-on •
cert-manager3: Let’s Encrypt の証明書を自動で作成する Add-on • 時間がかかるので発表前に仕込んでおきました (終わっていてくれ :pray:) 2https://github.com/kubernetes-incubator/external-dns 3https://github.com/jetstack/cert-manager 8 / 10
まとめ • Kubernetes: Declarative Configuration によるインフラの自動化ができる • 独自のリソースを定義する →自動化するプラットフォーム •
分散させるような大規模環境でなくても便利そう 9 / 10
ご清聴ありがとうございました Further Reading • 公式 • https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/ • https://kubernetes.io/docs/concepts/overview/object-management- kubectl/declarative-config/
• https://deeeet.com/writing/2018/12/13/how-kubernetes-change-our-way-of- automation/ • https://www.slideshare.net/ToruMakabe/kubernetes-120907020 10 / 10