Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Deployment Guide for Amazon Elastic Kubernetes Services (EKS) Cluster
  3. Deployment with environment operators
  4. Uninstalling NetBackup environment and the operators
NetBackup™ Deployment Guide for Amazon Elastic Kubernetes Services (EKS) Cluster

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

  1. To remove the environment components from the application namespace, run:

    $ kubectl delete environment.netbackup.veritas.com/environment-sample --namespace <namespce_name>

  2. 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.

  3. To identify and delete any outstanding persistent volume claims, run the following:

    $ kubectl get pvc --namespace <namespce_name>

    $ kubectl delete pvc <pvc-name>

  4. 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}}

    Note:

    Navigate to mounted EFS directory and delete the content from primary_catalog folder by running the rm -rf /efs/ command.

  5. To delete the application namespace, run:

    $ kubectl delete ns <namespace name>

To uninstall the operators

  1. To uninstall the NetBackup operator run the following command from the installation directory.

    $ kubectl delete -k operator

  2. 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.

To uninstall NetBackup operator and Snapshot Manager

  • To uninstall the NetBackup operator and Snapshot Manager operator and remove the operator's namespace, run the following command:

    $ kubectl delete -k operator

For more information on uninstalling the Snapshot Manager, refer to the following section:

More Information

Uninstalling Snapshot Manager from EKS

Feedback

Was this page helpful?
Previous

Configuring the environment.yaml file

Next

Applying security patches

Feedback

Was this page helpful?