From 3bdd3edcfa702c0a3c4dc524ed8b516d9d1fb84a Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Fri, 2 Jun 2023 20:25:23 +0300 Subject: [PATCH] Add regional dr environment without a hub For testing kube object projection in a setup without a hub. Based temporarily on #903 Part-of: #902 Signed-off-by: Nir Soffer --- test/README.md | 3 ++ test/envs/regional-dr-hubless.yaml | 44 ++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 test/envs/regional-dr-hubless.yaml diff --git a/test/README.md b/test/README.md index 4c4852f0ab..efa6b1de6c 100644 --- a/test/README.md +++ b/test/README.md @@ -556,6 +556,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..4ebbe77e8e --- /dev/null +++ b/test/envs/regional-dr-hubless.yaml @@ -0,0 +1,44 @@ +# 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" + 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 + - name: volsync + +profiles: + - name: "dr1" + template: "dr-cluster" + - name: "dr2" + template: "dr-cluster" + +workers: + - addons: + - name: rbd-mirror + args: ["dr1", "dr2"]