Namespaces
This RecoveryPlan synchronize namespaces between the source and destination clusters.
Filters
Only the resources with labelsdisaster-recovery=enabled will be synchronized. Note that system namespaces that start with either kube- or openshift- will not be replicated even when the labels match.apiVersion: dr.astronetes.io/v1alpha1
kind: RecoveryPlan
metadata:
name: ns
spec:
suspend: false
sourceClusterRef:
name: source
namespace: dr-maqueta
destinationClusterRef:
name: destination
namespace: dr-maqueta
resources:
- version: v1
resource: namespaces
filters:
selector:
matchLabels:
disaster-recovery: enabled