Skip to content

Commit

Permalink
Add regional-dr kubevirt environment
Browse files Browse the repository at this point in the history
Based on regional-dr with:
- more memory in the managed clusters so we can run both ramen and its
  dependencies, kubvirt, cdi and some vms.
- using flannel cni (based on kubevirt minikube docs[1])
- 3 cpus for managed cluster (looks like CDI cannot work with 2)
- adding kubevirt and cdi addons

[1] https://kubevirt.io/quickstart_minikube/

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Oct 15, 2023
1 parent 6e1656f commit 5000eef
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions test/envs/regional-dr-kubevirt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

# Enviroment for testing kubevirt flows with Regional-DR
---
name: "rdr-kubevirt"

ramen:
hub: hub
clusters: [dr1, dr2]
topology: regional-dr

templates:
- name: "dr-cluster"
driver: "$vm"
container_runtime: containerd
network: "$network"
cni: flannel
cpus: 3
memory: "9g"
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: ocm-cluster
args: ["$name", "hub"]
- name: cdi
- addons:
- name: csi-addons
- name: olm
- name: minio
- name: velero
- name: kubevirt
- name: "hub-cluster"
driver: "$vm"
container_runtime: containerd
network: "$network"
cni: flannel
memory: "4g"
workers:
- addons:
- name: ocm-hub
- name: ocm-controller
- name: cert-manager
- name: olm
- addons:
- name: submariner
args: ["hub", "dr1", "dr2"]

profiles:
- name: "dr1"
template: "dr-cluster"
- name: "dr2"
template: "dr-cluster"
- name: "hub"
template: "hub-cluster"

workers:
- addons:
- name: rbd-mirror
args: ["dr1", "dr2"]
- addons:
- name: volsync
args: ["dr1", "dr2"]

0 comments on commit 5000eef

Please sign in to comment.