Clean up disaster recovery objects


If you no longer require a disaster recovery object, you can delete it.

Perform the following steps from a location where you have kubectl access to the source cluster:

  1. Delete the migration schedule:

    kubectl delete migrationschedules <migrationschedule-name> -n <migrationnamespace>
    NOTE: Once a migrationschedule object is deleted, delete all the associated migration objects that you retrieved in step 2 of the previous section.
  2. Delete the namespaced policy associated:

    kubectl delete schedulepolicy <your-schedule-policy>
  3. Delete the cluster pair:

    kubectl delete clusterpair <remoteclustername> -n <migrationnamespace>


Last edited: Tuesday, May 9, 2023