Skip to main content
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

升級 Trident Protect

貢獻者 netapp-shwetav netapp-mwallis

您可以將 Trident Protect 升級至最新版本,以利用新功能或錯誤修正。

註

從版本 24.10 升級時,升級期間執行的快照可能會失敗。此失敗不會阻止將來建立快照(無論是手動快照還是計劃快照)。如果升級期間快照失敗,您可以手動建立新快照以確保應用程式受到保護。

為避免潛在的故障,您可以在升級前停用所有快照計劃,然後在升級後重新啟用。但是,這會導致升級期間遺失所有計劃的快照。

若要升級 Trident Protect ,請執行下列步驟。

步驟
  1. 更新 Trident Helm 儲存庫:

    helm repo update
  2. 升級 Trident Protect 客戶需求日:

    註 如果您從 25.06 之前的版本升級,則需要執行此步驟,因為 CRD 現在包含在 Trident Protect Helm 圖表中。
    1. 運行此命令將 CRD 的管理從 trident-protect-crds`到 `trident-protect

      kubectl get crd | grep protect.trident.netapp.io | awk '{print $1}' | xargs -I {} kubectl patch crd {} --type merge -p '{"metadata":{"annotations":{"meta.helm.sh/release-name": "trident-protect"}}}'
    2. 運行此命令刪除 `trident-protect-crds`圖表:

      註 不要卸載 `trident-protect-crds`圖表使用 Helm,因為這可能會刪除您的 CRD 和任何相關資料。
    kubectl delete secret -n trident-protect -l name=trident-protect-crds,owner=helm
  3. 升級 Trident Protect :

    helm upgrade trident-protect netapp-trident-protect/trident-protect --version 100.2506.0 --namespace trident-protect