本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
安裝及設定 Trident Protect
貢獻者

個別的 PDF 文件集合
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
如果您的環境符合 Trident Protect 的要求,您可以依照下列步驟在叢集上安裝 Trident Protect 。您可以從 NetApp 取得 Trident Protect ,或從您自己的私有登錄安裝。如果您的叢集無法存取網際網路,從私有登錄安裝會很有幫助。
安裝 Trident Protect
安裝 Trident Protect from NetApp
從私有登錄安裝 Trident Protect
安裝 Trident Protect from NetApp
安裝 Trident Protect from NetApp
從私有登錄安裝 Trident Protect
步驟
-
新增Trident Helm儲存庫:
helm repo add netapp-trident-protect https://netapp.github.io/trident-protect-helm-chart
Console -
安裝 Trident Protect 客戶需求日:
helm install trident-protect-crds netapp-trident-protect/trident-protect-crds --version 100.2502.0 --create-namespace --namespace trident-protect
Console -
使用 Helm 安裝 Trident Protect 。以叢集名稱取代
<name-of-cluster>
,該名稱將指派給叢集,用於識別叢集的備份和快照:helm install trident-protect netapp-trident-protect/trident-protect --set clusterName=<name-of-cluster> --version 100.2502.0 --create-namespace --namespace trident-protect
Console
如果 Kubernetes 叢集無法存取網際網路,您可以從私有映像登錄安裝 Trident Protect 。在這些範例中,請將方括號中的值取代為環境中的資訊:
步驟
-
將下列影像拉到您的本機電腦,更新標記,然後將它們推送到您的私人登錄:
netapp/controller:25.02.0 netapp/restic:25.02.0 netapp/kopia:25.02.0 netapp/trident-autosupport:25.02.0 netapp/exechook:25.02.0 netapp/resourcebackup:25.02.0 netapp/resourcerestore:25.02.0 netapp/resourcedelete:25.02.0 bitnami/kubectl:1.30.2 kubebuilder/kube-rbac-proxy:v0.16.0
Console例如:
docker pull netapp/controller:25.02.0
Consoledocker tag netapp/controller:25.02.0 <private-registry-url>/controller:25.02.0
Consoledocker push <private-registry-url>/controller:25.02.0
Console -
建立 Trident Protect 系統命名空間:
kubectl create ns trident-protect
Console -
登入登錄:
helm registry login <private-registry-url> -u <account-id> -p <api-token>
Console -
建立用於私人登錄驗證的拉出密碼:
kubectl create secret docker-registry regcred --docker-username=<registry-username> --docker-password=<api-token> -n trident-protect --docker-server=<private-registry-url>
Console -
新增Trident Helm儲存庫:
helm repo add netapp-trident-protect https://netapp.github.io/trident-protect-helm-chart
Console -
建立名為的檔案
protectValues.yaml
。請確定其中包含下列 Trident Protect 設定:--- 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
YAML -
安裝 Trident Protect 客戶需求日:
helm install trident-protect-crds netapp-trident-protect/trident-protect-crds --version 100.2502.0 --create-namespace --namespace trident-protect
Console -
使用 Helm 安裝 Trident Protect 。以叢集名稱取代
<name_of_cluster>
,該名稱將指派給叢集,用於識別叢集的備份和快照:helm install trident-protect netapp-trident-protect/trident-protect --set clusterName=<name_of_cluster> --version 100.2502.0 --create-namespace --namespace trident-protect -f protectValues.yaml
Console