Upgrade Trident protect
You can upgrade Trident protect to the latest version to take advantage of new features or bug fixes.
|
When you upgrade from version 24.10, snapshots running during the upgrade might fail. This failure does not prevent future snapshots, whether manual or scheduled, from being created. If a snapshot fails during the upgrade, you can manually create a new snapshot to ensure your application is protected. To avoid potential failures, you can disable all snapshot schedules before the upgrade and re-enable them afterward. However, this results in missing any scheduled snapshots during the upgrade period. |
To upgrade Trident protect, perform the following steps.
-
Update the Trident Helm repository:
helm repo update
-
Upgrade the Trident protect CRDs:
This step is required if you are upgrading from a version earlier than 25.06, as the CRDs are now included in the Trident protect Helm chart. -
Run this command to shift management of CRDs from
trident-protect-crds
totrident-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"}}}'
-
Run this command to delete the Helm secret for the
trident-protect-crds
chart:Do not uninstall the trident-protect-crds
chart using Helm, as this could remove your CRDs and any related data.kubectl delete secret -n trident-protect -l name=trident-protect-crds,owner=helm
-
-
Upgrade Trident protect:
helm upgrade trident-protect netapp-trident-protect/trident-protect --version 100.2506.0 --namespace trident-protect