diff --git a/test/README.md b/test/README.md index f6a7df23b5..794046dbb6 100644 --- a/test/README.md +++ b/test/README.md @@ -569,6 +569,9 @@ The environments files are located in the `envs` directory. - `regional-dr.yaml` - for testing regional DR using a hub cluster and 2 managed clusters with Ceph storage. +- `regional-dr-hubless.yaml` - for testing regional DR using a setup + without a hub. + - `regional-dr-external.yaml.example` - A starting point for creating environment for testing regional DR using with external storage. diff --git a/test/envs/regional-dr-hubless.yaml b/test/envs/regional-dr-hubless.yaml new file mode 100644 index 0000000000..4c19d30469 --- /dev/null +++ b/test/envs/regional-dr-hubless.yaml @@ -0,0 +1,51 @@ +# SPDX-FileCopyrightText: The RamenDR authors +# SPDX-License-Identifier: Apache-2.0 + +# Enviroment for testing Regional-DR in a setup without a hub. +--- +name: "rdr-hubless" + +ramen: + hub: null + clusters: [dr1, dr2] + topology: regional-dr + +templates: + - name: "dr-cluster" + driver: kvm2 + container_runtime: containerd + network: default + memory: "6g" + extra_disks: 1 + disk_size: "50g" + addons: + - volumesnapshots + - csi-hostpath-driver + workers: + - addons: + - name: cert-manager + - name: rook-operator + - name: rook-cluster + - name: rook-pool + - name: rook-toolbox + - addons: + - name: csi-addons + - name: olm + - name: minio + - name: velero + +profiles: + - name: "dr1" + template: "dr-cluster" + - name: "dr2" + template: "dr-cluster" + +workers: + - addons: + - name: rbd-mirror + args: ["dr1", "dr2"] + - addons: + - name: submariner + args: ["dr1", "dr1", "dr2"] + - name: volsync + args: ["dr1", "dr2"]