NetBackup™ Deployment Guide for Kubernetes Clusters
- Introduction
- Section I. Configurations
- Prerequisites
- Recommendations and Limitations
- Configurations
- Configuration of key parameters in Cloud Scale deployments
- Section II. Deployment
- Section III. Monitoring and Management
- Monitoring NetBackup
- Monitoring Snapshot Manager
- Monitoring MSDP Scaleout
- Managing NetBackup
- Managing the Load Balancer service
- Managing PostrgreSQL DBaaS
- Performing catalog backup and recovery
- Managing MSDP Scaleout
- Section IV. Maintenance
- MSDP Scaleout Maintenance
- PostgreSQL DBaaS Maintenance
- Patching mechanism for Primary and Media servers
- Upgrading
- Cloud Scale Disaster Recovery
- Uninstalling
- Troubleshooting
- Troubleshooting AKS and EKS issues
- Troubleshooting AKS-specific issues
- Troubleshooting EKS-specific issues
- Troubleshooting AKS and EKS issues
- Appendix A. CR template
Uninstalling Snapshot Manager from Kubernetes cluster
When you uninstall Snapshot Manager from Kubernetes cluster, the Snapshot Manager related services are deleted from the cluster.
Delete cpServer related parameters from
environment.yaml
file and apply it.# NOTE: Following steps does not remove flexsnap (Snapshot Manager) operator. OPERATOR_NAMESPACE="netbackup-operator-system" ENVIRONMENT_NAMESPACE="nbux" # Comment out / remove cpServer part from environment.yaml
Following commands can be used to remove and disable the Snapshot Manager from NetBackup:
kubectl apply -f environment.yaml -n $ENVIRONMENT_NAMESPACE sleep 10s
Ensure that you get the uninstall message in
flexsnap-operator
operator 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:
kubectl delete cm flexsnap-conf nbuconf pdconf -n $ENVIRONMENT_NAMESPACE kubectl delete pvc data-flexsnap-rabbitmq-0 fluentd-pvc cloudpoint-pvc certauth-pvc -n $ENVIRONMENT_NAMESPACE kubectl delete pv $(kubectl get pv | grep flexsnap | awk '{printf $1" " }') kubectl delete pv $(kubectl get pv | grep fluentd-pvc | awk '{printf $1" " }') kubectl delete pv $(kubectl get pv | grep cloudpoint-pvc | awk '{printf $1" " }') kubectl delete pv $(kubectl get pv | grep certauth-pvc | awk '{printf $1" " }')
NetBackup Snapshot Manager uses it's own pod (
flexsnap-postgresql
) to store data when NetBackup uses cloud native database.When
flexsnap-postgresql
pod is deployed, use the following command to delete the database pvc:kubectl delete pvc psql-pvc -n $ENVIRONMENT_NAMESPACE
kubectl delete pv $(kubectl get pv | grep psql-pvc | awk '{printf $1" " }')