Uninstalling NetBackup using Helm charts
To uninstall NetBackup using Helm charts on Kubernetes cluster, perform the following:
- Use the following command to list the NetBackup versions installed:
# helm list
Identify the NetBackup version that needs to be uninstalled.
- Uninstall the identified NetBackup version (release_name) using the following command:
# helm uninstall <release-name>
- The pending global objects cluster roles and role bindings must be cleared up using the following kubectl commands:
# kubectl get storageclass -o name | grep nbux | xargs -r kubectl delete # kubectl get ClusterRoles -o name | grep msdp | xargs -r kubectl delete # kubectl get ClusterRoleBindings -o name | grep msdp | xargs -r kubectl delete # kubectl get crds -o name | grep veritas.com | xargs -r kubectl delete # kubectl get MutatingWebhookConfiguration -o name | grep -E 'msdp|netbackup' | xargs -r kubectl delete # kubectl get ValidatingWebhookConfiguration -o name | grep -E 'msdp|netbackup' | xargs -r kubectl delete