diff --git a/README.md b/README.md index 197a1c4..0aaf962 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ kubectl delete -k subscription/deployment-k8s-regional-rbd hub, for example: ``` - kubectl apply -k dr/deployment-k8s-regional-rbd + kubectl apply -k dr/managed/deployment-k8s-regional-rbd ``` This creates a DRPlacementControl resource for the busybox deployment @@ -189,7 +189,7 @@ kubectl delete -k subscription/deployment-k8s-regional-rbd 1. Delete the drpc resource for the OCM application on the hub: ``` - kubectl delete -k dr/deployment-k8s-regional-rbd + kubectl delete -k dr/managed/deployment-k8s-regional-rbd ``` This deletes the DRPlacementControl resource for the busybox diff --git a/dr/base/drpc.yaml b/dr/managed/base/drpc.yaml similarity index 100% rename from dr/base/drpc.yaml rename to dr/managed/base/drpc.yaml diff --git a/dr/base/kustomization.yaml b/dr/managed/base/kustomization.yaml similarity index 100% rename from dr/base/kustomization.yaml rename to dr/managed/base/kustomization.yaml diff --git a/dr/deployment-k8s-regional-rbd/kustomization.yaml b/dr/managed/deployment-k8s-regional-rbd/kustomization.yaml similarity index 100% rename from dr/deployment-k8s-regional-rbd/kustomization.yaml rename to dr/managed/deployment-k8s-regional-rbd/kustomization.yaml diff --git a/dr/kubevirt/base/kustomization.yaml b/dr/managed/kubevirt/base/kustomization.yaml similarity index 100% rename from dr/kubevirt/base/kustomization.yaml rename to dr/managed/kubevirt/base/kustomization.yaml diff --git a/dr/kubevirt/vm-dv-k8s-regional/kustomization.yaml b/dr/managed/kubevirt/vm-dv-k8s-regional/kustomization.yaml similarity index 100% rename from dr/kubevirt/vm-dv-k8s-regional/kustomization.yaml rename to dr/managed/kubevirt/vm-dv-k8s-regional/kustomization.yaml diff --git a/dr/kubevirt/vm-dvt-k8s-regional/kustomization.yaml b/dr/managed/kubevirt/vm-dvt-k8s-regional/kustomization.yaml similarity index 100% rename from dr/kubevirt/vm-dvt-k8s-regional/kustomization.yaml rename to dr/managed/kubevirt/vm-dvt-k8s-regional/kustomization.yaml diff --git a/dr/kubevirt/vm-pvc-k8s-regional/kustomization.yaml b/dr/managed/kubevirt/vm-pvc-k8s-regional/kustomization.yaml similarity index 100% rename from dr/kubevirt/vm-pvc-k8s-regional/kustomization.yaml rename to dr/managed/kubevirt/vm-pvc-k8s-regional/kustomization.yaml diff --git a/workloads/kubevirt/README.md b/workloads/kubevirt/README.md index 3b09cc2..c9bd558 100644 --- a/workloads/kubevirt/README.md +++ b/workloads/kubevirt/README.md @@ -104,7 +104,7 @@ kubectl annotate placement placement \ Deploy the DR resources to enable DR: ```sh -kubectl apply -k dr/kubevirt/vm-pvc-k8s-regional --context hub +kubectl apply -k dr/managed/kubevirt/vm-pvc-k8s-regional --context hub ``` At this point *Ramen* controls the VM placement and protects the VM data @@ -356,7 +356,7 @@ kubectl wait drpc drpc \ Delete the `dr` resources to disable DR: ```sh -kubectl delete -k dr/kubevirt/vm-pvc-k8s-regional --context hub +kubectl delete -k dr/managed/kubevirt/vm-pvc-k8s-regional --context hub ``` Enable *OCM* scheduling again by deleting the placement annotation we