This section guides you to disable disaster recovery resources when you want to delete
the protected applications or when the application no longer needs to be protected.
Procedure
- Login to the Hub cluster.
- List the
DRPlacementControl
(DRPC) resources. Each DRPC resource was
created when the application was assigned a DR policy.
oc get drpc -n openshift-dr-ops
- Find the DRPC that has a name that includes the unique identifier that you chose
when assigning a DR policy (for example,
busybox-rbd
) and delete the DRPC.
oc delete {drpc_name} -n openshift-dr-ops
- List the Placement resources. Each Placement resource was created when the
application was assigned a DR policy.
oc get placements -n openshift-dr-ops
- Find the Placement that has a name that includes the unique identifier that you
chose when assigning a DR policy (for example,
busybox-rbd-placement-1
) and delete
the Placement.
oc delete placements {placement_name} -n openshift-dr-ops