Cleaning up the MSDP Scaleout operator
You can delete the MSDP Scaleout operator to remove all related resources about MSDP Scaleout operator. The MSDP Scaleout operator and logs are deleted.
To clean up MSDP Scaleout operator
- If your storage class is with Retain policy, write down the PVs that are associated with the Operator PVCs for deletion in the Kubernetes cluster level.
kubectl get pod,svc,deploy,rs,ds,pvc,secrets,certificates,issuers,cm,sa,role,rolebinding -n <sample-operator-namespace> -o wide
kubectl get clusterroles,clusterrolebindings,pv -o wide --show-labels
- Navigate to cd $NB_DIR/bin directory.
where NB_DIR is the directory where the tar file has been unzipped.
Delete the MSDP Scaleout operator.
./kubectl-msdp delete -n netbackup-operator-system
-n: Namespace scope for this request.
Default value: msdp-operator-system
- If your storage class is with the Retain policy, you must delete the Azure disks using Azure portal or delete the EBS volumes using Amazon console. You can also use the Azure or AWS CLI.
AKS: az disk delete -g $RESOURCE_GROUP --name $AZURE_DISK --yes
EKS: aws ec2 delete-volume --volume-id <value>