3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Helmの使い方まとめ | Kubernetesパッケージマネージャー

Last updated at Posted at 2019-10-23

Helm の charts をカスタマイズする方法

例として、stable/redisをカスタマイズしてみます。
(なぜならこの記事の編集時点で正しくインストールできなくなってるので;)

local に charts を取得する

以下のコマンドを実行して、cahrts をローカルに取得します。

$ helm fetch stable/redis
$ ls 
redis-9.4.1.tgz

charts の編集

tgzを展開して任意のフォルダに置き、
編集したいファイルを編集します。

$ ls ./redis
Chart.yaml  ci  README.md  templates  values-production.yaml  values.yaml

独自の charts の作成

ディレクトリを指定して、オリジナルの charts を作成します。

$ helm package redis
Successfully packaged chart and saved it to: redis-9.4.1.tgz

上記のコマンドはでディレクトリ(redis)を指定して、chartsを作成しています。

独自の charts のインストール

installコマンドにtgzを指定してインストールします。

$ helm install redis-9.4.1.tgz
3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?