Uninstalling Snapshot Manager from EKS
When you uninstall Snapshot Manager from EKS, the Snapshot Manager related services are deleted from the cluster.
Delete cpServer related parameters from
environment.yamlfile and apply it.Following commands can be used to remove and disable the Snapshot Manager from NetBackup:
ENVIRONMENT_NAMESPACE="netbackup-environment" # Make sure the flexsnap-operator pod is running and ready. # Comment out / remove cpServer part from environment.yaml then apply it.
kubectl apply -f environment.yaml -n $ENVIRONMENT_NAMESPACE sleep 10s
Ensure that you get the uninstall message in
flexsnap-operatoroperator log.To clean-up cpServer component, delete flexsnap specific persistent volumes (PVs), persistent volume claims (PVCs) and config maps. Note that these resources contain metadata of current cpServer installation and would be deleted.
Use the following respective commands to delete these resources:
To remove
certauth-pvc,cloudpoint-pvcandmongodb-pvc: # kubectl delete pvc certauth-pvc cloudpoint-pvc mongodb-pvc -n <nb-namespace>To remove associated PVs of
certauth-pvc,cloudpoint-pvcandmongodb-pvc: # kubectl delete pv <pv-name> -n <nb-namespace>To remove
nbuconfandflexsnap-conf: # kubectl delete cm nbuconf flexsnap-conf -n <nb-namespace>