NetBackup™ Deployment Guide for Azure Kubernetes Services (AKS) Cluster
- Introduction to NetBackup on AKS
- Deployment with environment operators
- Assessing cluster configuration before deployment
- Deploying NetBackup
- About primary server CR and media server CR
- Upgrading NetBackup
- Deploying MSDP Scaleout
- Upgrading MSDP Scaleout
- Monitoring NetBackup
- Monitoring MSDP Scaleout
- Managing the Load Balancer service
- Performing catalog backup and recovery
- Managing MSDP Scaleout
- About MSDP Scaleout maintenance
- Uninstalling MSDP Scaleout from AKS
- Troubleshooting
- Appendix A. CR template
Uninstalling NetBackup environment and the operators
You can uninstall the NetBackup primary, media, and MSDP Scaleout environment and the operators as required. You need to uninstall the NetBackup environment before you uninstall the operators.
Note:
Replace the environment custom resource names as per your configuration in the steps below.
To uninstall the NetBackup environment
- To remove the environment components from the application namespace, run:
$ kubectl delete environment.netbackup.veritas.com/environment-sample --namespace <namespce_name>
- Wait for all the pods, services and resources to be terminated. To confirm, run
$ kubectl get --namespace <namespce_name> all,environments,primaryservers,mediaservers,msdpscaleouts
You should get a message that no resources were found in the nb-example namespace.
- To identify and delete any outstanding persistent volume claims, run the following:
$ kubectl get pvc --namespace <namespce_name>
$ kubectl delete pvc <pvc-name>
- To locate and delete any persistent volumes created by the deployment, run:
$ kubectl get pv
$ kubectl delete pv <pv-name> --grace-period=0 --force
Note:
Certain storage drivers may cause physical volumes to get stuck in the terminating state. To resolve this issue, remove the finalizer, using the command: $ kubectl patch pv <pv-name> -p '{"metadata":{"finalizers":null}}
- To delete the application namespace, run:
$ kubectl delete ns <namespace name>
To uninstall the operators
- To uninstall the NetBackup operator run the following command from the installation directory.
$ kubectl delete -k operator
- To uninstall the MSDP Scaleout operator and remove the operator's namespace, run.
$ kubectl msdp delete --namespace <namespace name>
Note:
Do not remove the MSDP Scaleout operator first as it may corrupt the NetBackup operator.