Deleting DR policy CR

Replication Plug-in for Containers Installation and User Guide

Version
3.18.x
Audience
anonymous
Part Number
MK-92ADPTR155-10
ft:lastEdition
2026-07-07

When you delete a DR policy CR, all the associated replication CRs will also be deleted.

  1. Delete the DR policy CR. Enter:
    kubectl delete drpolicy <dr-policy-cr-name>
  2. Verify if the DR policy CR is deleted from both the primary and secondary sites. Enter:
    kubectl get drpolicy
    Sample output:
    kubectl get drpolicy
    No resources found in default namespace.
  3. Verify the replication status of the PVCs. Enter:
    kubectl get replication -n <namespace-of-the-pvc>
    Sample output:
    kubectl get replication -n <namespace-of-the-pvc>
    No resources found.