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
Kustomize事情
Search
sakajunquality
December 27, 2018
Technology
1
200
Kustomize事情
sakajunquality
December 27, 2018
Tweet
Share
More Decks by sakajunquality
See All by sakajunquality
DevFest Tokyo 2023: Google Cloudでチームで安全にデプロイをする
sakajunquality
10
1.8k
Cloud Spanner Monitoring 入門 / Cloud Spanner Monitoring Introduction
sakajunquality
1
1.3k
GKE Overview March 2021: Introducing Autopilot
sakajunquality
1
810
Introduction to Cloud Run 2021
sakajunquality
3
1.5k
Building Reliable Distributed Systems on GCP
sakajunquality
1
230
Istio 1.5 Updates
sakajunquality
4
1.9k
GCP 101: Getting Started through Cloud Run
sakajunquality
6
3.6k
Seeking Observability, Getting Started with Service Mesh
sakajunquality
0
140
Fastly Yamagoya Meetup: Leveraging Cloud Portability with Fastly
sakajunquality
0
16k
Other Decks in Technology
See All in Technology
2025-02-21 ゆるSRE勉強会 Enhancing SRE Using AI
yoshiiryo1
1
390
なぜ私は自分が使わないサービスを作るのか? / Why would I create a service that I would not use?
aiandrox
0
800
PHPカンファレンス名古屋-テックリードの経験から学んだ設計の教訓
hayatokudou
2
450
プロダクトエンジニア構想を立ち上げ、プロダクト志向な組織への成長を続けている話 / grow into a product-oriented organization
hiro_torii
1
240
表現を育てる
kiyou77
1
220
Building Products in the LLM Era
ymatsuwitter
10
5.7k
ホワイトボードチャレンジ 説明&実行資料
ichimichi
0
130
ソフトウェアエンジニアと仕事するときに知っておいたほうが良いこと / Key points for working with software engineers
pinkumohikan
0
110
Active Directory攻防
cryptopeg
PRO
2
1.4k
ビジネスモデリング道場 目的と背景
masuda220
PRO
9
640
ユーザーストーリーマッピングから始めるアジャイルチームと並走するQA / Starting QA with User Story Mapping
katawara
0
210
クラウドサービス事業者におけるOSS
tagomoris
3
910
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
How to train your dragon (web standard)
notwaldorf
91
5.8k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Optimizing for Happiness
mojombo
376
70k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
Become a Pro
speakerdeck
PRO
26
5.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Transcript
Kustomize事情 + α @sakajunquality 2018.12.27 KubeCon+CNCon NA 2018 Recap!!
About me Jun Sakata / @sakajunquality - Google Developers Expert,
Cloud - Software Engineer at Ubie inc. - #kubernetes and #beer
None
Keynotes
Washington Convention Center
Washington Convention Center
Keynotes
Keynotes
Phippy in Crane Machine
LT
- Day 0でLightning Talkしてきま した - https://link.medium.com/R 6tzrsjWYS - 続きは
k8s meetup tokyo #15 にて LT
kustomize
Kustomize
kustomize - 知ってる人には今更感あるかもしれませんが、 - helm に注目が集まっている気がするので改めて。 - demoもあるのでこの動画は導入向けの資料としても使えそう。
session
- @ryancox Lyft - 唯一のkustomizeについて - DemoもあるのでYouTubeおす すめ - https://www.youtube.com/
watch?v=ahMIBxufNR0 Kustomize
About tools - ツールがたくさんある中で
Kustomize - ツールの役割ごとに分類
Kustomize - kustomizeは名前の通りここ
Kustomize Basics - 使い方はシンプルで - 標準出力に生成されたyamlを 出力
Kustomize Roots - Unixの思想を強く受けている - Doing one thing well -
manipulating specifically kubernetes yaml
Kustomize Roots - Roots of Kustomize - https://github.com/kubernetes/ community/blob/master/contri butors/design-proposals/archit
ecture/declarative-application- management.md
Kustomize in a nutshell kustomize build
features
Kustomize Features - Overlays - Mix-in Configurations - ConfigMap Generation
- Patches
Kustomize overlays 具体的にはprod/stageのような、ほ ぼ同じ設定を少し上書きしたりでき る
Mix-In Configuration - overlayと似ているけど、Mix-In でモジュールのように 複数の ベースを使うことも可能
ConfigMap Generation - ConfigMap書き換えたけどアプ リケーションの挙動が変わらな い話(podは挙動が変わらない から)
ConfigMap Generation - ConfigMapGeneratorの例 - suffixがついたconfigMapが生 成される
Paches Patchでoverlayに上書きするなど
Demo
Demo Demo … https://www.youtube.com/wa tch?v=ahMIBxufNR0
Use case in Lyft
Use-case in Lyft - Envoyのインジェクションを行っ ている
KMS Decryption - kms等と連携してsecretを生成 したり
Futures
Kustomize in kubectl - kustomize is going to be merged
to kubectl
Takeaways
kustomizeは - kubernetes のマニフェストのyamlを操作するだけの小さなアプリケーション - 標準出力に出力されるだけなので他ツールとの組み合わせできる - helmと違ってテンプレートフリー - そのうちkubectlのサブコマンドになる?
- envoyを組み込むのに使うのは1ついい例だと思った Takeaways
- GitHub - https://github.com/kubernetes-sigs/kustomize - Kubernetes Slack - #kustomize More
Information
None