> ## Documentation Index
> Fetch the complete documentation index at: https://enterprise-docs.dify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dify Helm Chart

> このページは先行公開版です。内容は今後予告なく更新される可能性があります。

## 要件

* リリースログ: [https://langgenius.github.io/dify-helm](https://langgenius.github.io/dify-helm)
* Kubernetes 1.24 以上
* Helm 3.14 以上
* `警告`: OpenShift などの制限された環境を使用している場合、Pod が `root` として実行できるように設定してください。

***

## クイックスタート

### Helm リポジトリ情報の取得

```bash theme={null}
helm repo add dify https://langgenius.github.io/dify-helm
helm repo update
```

Helm コマンドの詳細は [helm repo ドキュメント](https://helm.sh/docs/helm/helm_repo/) をご参照ください。

***

### 利用可能なバージョンの確認

* コミュニティ版とエンタープライズ版のバージョンを確認したい場合、以下のコマンドを使用します。
* `APP VERSION` は Dify コミュニティのバージョン、`CHART VERSION` は Dify エンタープライズのバージョンを表します。

```bash theme={null}
helm repo update
helm search repo dify/dify --versions
```

詳細は [helm search repo ドキュメント](https://helm.sh/docs/helm/helm_search_repo/) を参照してください。

***

### インストールまたはアップグレード

初回インストールまたはアップグレード時は、以下のコマンドを使用してください：

<Warning>
  アップグレード前には、必ずデータベースのバックアップを取得してください。万一アップグレードが失敗した場合は、バージョンをロールバックし、データベースを速やかに復元できます。
</Warning>

```bash theme={null}
helm repo update
helm search repo dify/dify
helm upgrade -i dify -f values.yaml dify/dify
# 特定のバージョンへアップグレードする場合は、以下のように実行：
# helm upgrade -i dify -f values.yaml dify/dify --version x.x.x
```

詳細は [helm upgrade ドキュメント](https://helm.sh/docs/helm/helm_upgrade/) をご参照ください。

***

## 高度な使い方

### アンインストール

Dify をアンインストールするには、以下のコマンドを使用します：

<Warning>
  * Dify を再インストールする場合、`dify_plugin_daemon` のデータベースを事前にクリーンアップする必要があります。
  * 詳細は [PostgreSQL データベースの構成](/ja/3.7.x/deploy/advanced-configuration/postgresql-database) を参照してください。
</Warning>

```bash theme={null}
helm uninstall dify
```

詳細は [helm uninstall ドキュメント](https://helm.sh/docs/helm/helm_uninstall/) をご確認ください。

***

### Helm チャートの値を表示

Helm チャートの values 情報を確認したい場合は、以下のコマンドを使用してください：

```bash theme={null}
helm show values dify/dify
```

詳細は [helm show values ドキュメント](https://helm.sh/docs/helm/helm_show_values/) を参照してください。

***

### Helm Template を使って Kubernetes YAML を生成

Kubernetes のマニフェストファイルを生成するには、以下のコマンドを使用します：

```bash theme={null}
helm template dify -f values.yaml dify/dify > dify-k8s-template.yaml
```

詳細は [helm template ドキュメント](https://helm.sh/docs/helm/helm_template/) を参照してください。

***

### Helm チャートをローカルにダウンロード

Helm チャートをローカルに保存するには、以下のコマンドを使用します：

```bash theme={null}
helm pull dify/dify
# 特定バージョンを指定する場合：
# helm pull dify/dify --version x.x.x
```
