Tridentプロテクトのアップグレード
新しい機能やバグ修正を利用するには、 Trident Protect を最新バージョンにアップグレードできます。
|
|
|
Trident Protect をアップグレードするには、次の手順を実行します。
-
Trident Helmリポジトリを更新します。
helm repo update -
Trident Protect CRD をアップグレードします。
25.06 より前のバージョンからアップグレードする場合は、CRD がTrident Protect Helm チャートに含まれるようになったため、この手順は必須です。 -
このコマンドを実行すると、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"}}}' -
このコマンドを実行してHelmシークレットを削除します。 `trident-protect-crds`チャート:
アンインストールしないでください trident-protect-crdsHelm を使用してチャートを作成しないでください。CRD と関連データが削除される可能性があります。
kubectl delete secret -n trident-protect -l name=trident-protect-crds,owner=helm -
-
Tridentプロテクトのアップグレード:
helm upgrade trident-protect netapp-trident-protect/trident-protect --version 100.2510.0 --namespace trident-protectアップグレード中にログレベルを設定するには、 --set logLevel=debug`アップグレード コマンドに追加します。デフォルトのログレベルは `warn。デバッグ ログは、ログ レベルの変更や問題の再現を必要とせずにNetAppサポートが問題を診断するのに役立つため、トラブルシューティングには推奨されます。