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とDeclarative Configuration
Search
Tomoya Tabuchi
March 09, 2019
Programming
470
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
Transcript
10 slides
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
More Decks by Tomoya Tabuchi
See All by Tomoya Tabuchi
Docker Hands On
tomoyat1
1
430
meltdown.pdf
tomoyat1
0
53
Other Decks in Programming
See All in Programming
AppFunctionsの内部実装を紐解く
hiroaki404
1
130
Math.sumPreciseから学ぶ、ECMAScript仕様の数値の種類
syumai
0
920
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
710
Datadog を OTel にするメリットを考察する — Datadog との併用を実アプリで確かめる / Examining the Benefits of Moving Datadog to OTel — Testing OTel Alongside Datadog in a Real App
seike460
PRO
1
100
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
410
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
Debian JP Projectのサーバー構成
uwabami
1
190
正解の無い問題を 「できるだけ上手く」解く ヒューリスティックで感性を磨こう。〜現実課題をプログラミングで解きあうコミュニティについて〜
allegrogiken
0
120
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
350
はじめてのPLATEAU
nokonoko1203
1
680
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1033
470k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.7k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
Optimising Largest Contentful Paint
csswizardry
37
4k
The World Runs on Bad Software
bkeepers
PRO
72
12k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
590
Designing Experiences People Love
moore
143
24k
Visualization
eitanlees
153
17k