Skip to content

Commit

Permalink
Add regional dr environment without a hub
Browse files Browse the repository at this point in the history
For testing kube object projection in a setup without a hub.

Based temporarily on RamenDR#903

Part-of: RamenDR#902
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Jul 4, 2023
1 parent c5b772d commit dc2f1ac
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
44 changes: 44 additions & 0 deletions test/envs/regional-dr-hubless.yaml
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit dc2f1ac

Please sign in to comment.