Skip to main content
本製品の最新リリースがご利用いただけます。
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

Trident Protectのインストールと設定

環境がTrident Protectの要件を満たしている場合は、次の手順に従ってクラスタにTrident Protectをインストールできます。Trident ProtectはNetAppから入手するか、独自のプライベート レジストリからインストールできます。クラスタがインターネットにアクセスできない場合は、プライベート レジストリからインストールすると便利です。

Trident Protectのインストール

NetAppからTrident Protectをインストールする
手順
  1. Trident Helm リポジトリを追加します:

    helm repo add netapp-trident-protect https://netapp.github.io/trident-protect-helm-chart
  2. Helmを使用してTrident Protectをインストールします。 `<name-of-cluster>`をクラスタ名に置き換えます。このクラスタ名はクラスタに割り当てられ、クラスタのバックアップとSnapshotを識別するために使用されます:

    helm install trident-protect netapp-trident-protect/trident-protect --set clusterName=<name-of-cluster> --version 100.2510.0 --create-namespace --namespace trident-protect
  3. オプションで、デバッグ ログを有効にするには(トラブルシューティングに推奨)、次のコマンドを使用します:

    helm install trident-protect netapp-trident-protect/trident-protect --set clusterName=<name-of-cluster> --set logLevel=debug --version 100.2510.0 --create-namespace --namespace trident-protect

    デバッグログは、ログ レベルの変更や問題の再現を必要とせずに、NetApp サポートが問題のトラブルシューティングを行うのに役立ちます。

プライベートレジストリからTrident Protectをインストールする

Kubernetes クラスタがインターネットにアクセスできない場合は、プライベート イメージ レジストリから Trident Protect をインストールできます。これらの例では、括弧内の値を環境の情報に置き換えます:

手順
  1. 次のイメージをローカル マシンにプルし、タグを更新して、プライベート レジストリにプッシュします:

    docker.io/netapp/controller:25.10.0
    docker.io/netapp/restic:25.10.0
    docker.io/netapp/kopia:25.10.0
    docker.io/netapp/kopiablockrestore:25.10.0
    docker.io/netapp/trident-autosupport:25.10.0
    docker.io/netapp/exechook:25.10.0
    docker.io/netapp/resourcebackup:25.10.0
    docker.io/netapp/resourcerestore:25.10.0
    docker.io/netapp/resourcedelete:25.10.0
    docker.io/netapp/trident-protect-utils:v1.0.0

    例:

    docker pull docker.io/netapp/controller:25.10.0
    docker tag docker.io/netapp/controller:25.10.0 <private-registry-url>/controller:25.10.0
    docker push <private-registry-url>/controller:25.10.0
    メモ Helmチャートを取得するには、まず `helm pull trident-protect --version 100.2510.0 --repo https://netapp.github.io/trident-protect-helm-chart`を使用してインターネットにアクセスできるマシンにHelmチャートをダウンロードし、その結果の `trident-protect-100.2510.0.tgz`ファイルをオフライン環境にコピーして、最後のステップでリポジトリ参照の代わりに `helm install trident-protect ./trident-protect-100.2510.0.tgz`を使用してインストールします。
  2. Trident Protect システムネームスペースを作成します。

    kubectl create ns trident-protect
  3. レジストリにログインします:

    helm registry login <private-registry-url> -u <account-id> -p <api-token>
  4. プライベート レジストリ認証に使用するプル シークレットを作成します:

    kubectl create secret docker-registry regcred --docker-username=<registry-username> --docker-password=<api-token> -n trident-protect --docker-server=<private-registry-url>
  5. Trident Helm リポジトリを追加します:

    helm repo add netapp-trident-protect https://netapp.github.io/trident-protect-helm-chart
  6. `protectValues.yaml`という名前のファイルを作成します。次のTrident Protect設定が含まれていることを確認してください:

    ---
    imageRegistry: <private-registry-url>
    imagePullSecrets:
      - name: regcred
    メモ imageRegistry`および `imagePullSecrets`の値は、 `resourcebackup`および `resourcerestore`を含むすべてのコンポーネントイメージに適用されます。レジストリ内の特定のリポジトリパスにイメージをプッシュする場合(例: `example.com:443/my-repo)、レジストリフィールドに完全パスを含めてください。これにより、すべてのイメージが `<private-registry-url>/<image-name>:<tag>`から取得されます。
  7. Helmを使用してTrident Protectをインストールします。 `<name_of_cluster>`をクラスタ名に置き換えます。このクラスタ名はクラスタに割り当てられ、クラスタのバックアップとSnapshotを識別するために使用されます:

    helm install trident-protect netapp-trident-protect/trident-protect --set clusterName=<name_of_cluster> --version 100.2510.0 --create-namespace --namespace trident-protect -f protectValues.yaml
  8. オプションで、デバッグ ログを有効にするには(トラブルシューティングに推奨)、次のコマンドを使用します:

    helm install trident-protect netapp-trident-protect/trident-protect --set clusterName=<name-of-cluster> --set logLevel=debug --version 100.2510.0 --create-namespace --namespace trident-protect -f protectValues.yaml

    デバッグログは、ログ レベルの変更や問題の再現を必要とせずに、NetApp サポートが問題のトラブルシューティングを行うのに役立ちます。

メモ AutoSupport設定や名前空間フィルタリングなどの追加のHelmチャート設定オプションについては、"Trident Protectのインストールをカスタマイズする"を参照してください。