Clean up synchronous DR objects in Tanzu
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:
- 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.
-
Delete the associated schedule policy :
kubectl delete schedulepolicy <your-schedule-policy>
-
Delete the cluster pair from the source cluster.
kubectl delete clusterpair <migration-cluster-pair> -n <migrationnamespace>