Upgrade Trident protect
You can upgrade Trident protect to the latest version to take advantage of new features or bug fixes.
|
|
|
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-crdstotrident-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-crdschart:Do not uninstall the trident-protect-crdschart 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.2510.0 --namespace trident-protectYou can configure the logging level during upgrade by adding --set logLevel=debugto the upgrade command. The default logging level iswarn. Debug logging is recommended for troubleshooting as it helps NetApp support diagnose issues without requiring log level changes or problem reproduction.