日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。
Trident保護のインストールと設定
ご使用の環境がTrident保護の要件を満たしている場合は、次の手順に従ってクラスタにTrident保護をインストールします。NetAppからTrident protectを取得するか、独自のプライベートレジストリからインストールできます。プライベートレジストリからインストールすると、クラスタがインターネットにアクセスできない場合に役立ちます。
Tridentプロテクトのインストール
Trident protect from NetAppのインストール
手順
-
Trident Helmリポジトリを追加します。
helm repo add netapp-trident-protect https://netapp.github.io/trident-protect-helm-chart
-
Helmを使用してTrident protectをインストールします。をクラスタ名に置き換えます
<name-of-cluster>
。クラスタに割り当てられ、クラスタのバックアップとスナップショットの識別に使用されます。helm install trident-protect netapp-trident-protect/trident-protect --set clusterName=<name-of-cluster> --version 100.2506.0 --create-namespace --namespace trident-protect
Trident protectをプライベートレジストリからインストールする
Kubernetesクラスタがインターネットにアクセスできない場合は、プライベートイメージレジストリからTrident protectをインストールできます。次の例では、括弧内の値を環境の情報に置き換えます。
手順
-
次のイメージをローカルマシンにプルし、タグを更新して、プライベートレジストリにプッシュします。
netapp/controller:25.06.0 netapp/restic:25.06.0 netapp/kopia:25.06.0 netapp/trident-autosupport:25.06.0 netapp/exechook:25.06.0 netapp/resourcebackup:25.06.0 netapp/resourcerestore:25.06.0 netapp/resourcedelete:25.06.0 bitnami/kubectl:1.30.2 kubebuilder/kube-rbac-proxy:v0.16.0
例:
docker pull netapp/controller:25.06.0
docker tag netapp/controller:25.06.0 <private-registry-url>/controller:25.06.0
docker push <private-registry-url>/controller:25.06.0
-
Trident protect systemネームスペースを作成します。
kubectl create ns trident-protect
-
レジストリにログインします。
helm registry login <private-registry-url> -u <account-id> -p <api-token>
-
プライベートレジストリ認証に使用するプルシークレットを作成します。
kubectl create secret docker-registry regcred --docker-username=<registry-username> --docker-password=<api-token> -n trident-protect --docker-server=<private-registry-url>
-
Trident Helmリポジトリを追加します。
helm repo add netapp-trident-protect https://netapp.github.io/trident-protect-helm-chart
-
という名前のファイルを作成します
protectValues.yaml
。次のTrident保護設定が含まれていることを確認します。--- image: registry: <private-registry-url> imagePullSecrets: - name: regcred controller: image: registry: <private-registry-url> rbacProxy: image: registry: <private-registry-url> crCleanup: imagePullSecrets: - name: regcred webhooksCleanup: imagePullSecrets: - name: regcred
-
Helmを使用してTrident protectをインストールします。をクラスタ名に置き換えます
<name_of_cluster>
。クラスタに割り当てられ、クラスタのバックアップとスナップショットの識別に使用されます。helm install trident-protect netapp-trident-protect/trident-protect --set clusterName=<name_of_cluster> --version 100.2506.0 --create-namespace --namespace trident-protect -f protectValues.yaml