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
Abstract Helmfile
Search
Junki Mano
July 29, 2019
Technology
130
1
Share
Abstract Helmfile
Abstraction of Helmfile.
社内LT用に作成したHelmfileの概要資料です/
Junki Mano
July 29, 2019
More Decks by Junki Mano
See All by Junki Mano
ソフトウェアアーキテクトって何やるの? ~知っておくと役立つ考え方を共有します~ | 技育祭2022秋
laqiiz
3
2.3k
Goで工場を制御する要であるPLCにアクセスする / go-plc
laqiiz
0
2.8k
Abstract Sentinel
laqiiz
0
140
CNCF
laqiiz
1
150
Local_Kubernetes.pdf
laqiiz
1
150
Abstract GitOps
laqiiz
1
210
公開用_WebDBForum2018_テクノロジーショーケース_業務IoTストリーミング基盤.pdf
laqiiz
1
410
Other Decks in Technology
See All in Technology
出版記念イベントin大阪「書籍紹介&私がよく使うMCPサーバー3選と社内で安全に活用する方法」
kintotechdev
0
140
AIエージェント時代に必要な オペレーションマネージャーのロールとは
kentarofujii
0
280
トイルを超えたCREは何屋になるのか
bengo4com
0
120
Cortex Code君、今日から内製化支援担当ね。
coco_se
0
130
Zephyr(RTOS)でOpenPLCを実装してみた
iotengineer22
0
180
Databricks Lakehouse Federationで 運用負荷ゼロのデータ連携
nek0128
0
110
The essence of decision-making lies in primary data
kaminashi
0
220
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
パワポ作るマンをMCP Apps化してみた
iwamot
PRO
0
290
JEDAI認定プログラム JEDAI Order 2026 受賞者一覧 / JEDAI Order 2026 Winners
databricksjapan
0
480
不確実性と戦いながら見積もりを作成するプロセス/mitsumori-process
hirodragon112
1
170
Databricks Appsで実現する社内向けAIアプリ開発の効率化
r_miura
0
230
Featured
See All Featured
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.5k
First, design no harm
axbom
PRO
2
1.2k
Building the Perfect Custom Keyboard
takai
2
720
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
300
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
300
Typedesign – Prime Four
hannesfritz
42
3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
700
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Design in an AI World
tapps
0
190
Transcript
Helmfile Future-Daily-Standup-Meeting Kubernetes Ecosystem Study Mano Junki
What Helmfile?
Helmfileとは • KubernetesのパッケージマネージャであるHelmを宣言的に操 るツール • 主な機能 1. Helm Chart のValuesファイルをバージョン管理
2. k8sアプリの変更をCI/CD 3. 継続的に「あるべき状態」に寄せていき、prd/stgなど環境全体の skew(ずれ)を抑制する
Helmfileは何を解決するものか
Helmfileは何を解決するものか • Helmによってk8sアプリをパッケージ化はできたが、インス トール時に指定する設定値によって動作が変わる • 設定値の指定方法が、サービスに寄ってまちまちになりがちで、自動 化が難しかった • skew防止 •
例:デバック用にインセキュアな設定をした。 • ⇨hemlfileを定期実行することで、書かれていない設定は取り除かれる
こういう環境差分の values.yamlなどの管理。 これをデプロイするshell script? → Helmfileで代理 https://medium.com/@naseem_60378/helmfile-its-like-a-helm-for-your-helm-74a908581599
Helmfile Configuration
Helmfile最小構成の例 • prom-norbac-ubuntuというアプリ名で、stable/prometheus のChartでインストール。Chart Valueとして rbac.create=false を指定(残りはChartのデフォルト値)。values.yamlの代替
Helmfile設定項目 以下の3つ 1. release(前ページで説明したので割愛) 2. repositories 3. helmDefaults
repositories • name=HelmのChartリポジトリ名 • url= HelmのChartのリポジトリのURL
helmDefaults • tillerNamespace • HelmのサーバサイドコンポーネントのTillerインストール先のネームスペース • kubeContext • kubeconfigのどのcontextが指すk8sクラスタに接続するかの指定 •
args • helmfileが呼ぶ全helmコマンドに追加する引数 • 略
実行 • helmfile apply • apply all resources from state
file only when there are changes • ⇨単純な適用 • helmfile sync • sync all resources from state file (repos, releases and chart deps) • ⇨定期的にsyncすることで実機との動機が行える
参考 • https://github.com/roboll/helmfile • https://medium.com/@naseem_60378/helmfile-its-like-a- helm-for-your-helm-74a908581599