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])
- 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 16, 2023
1 parent 3756129 commit c87d0d1
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions test/envs/regional-dr-kubevirt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# 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
memory: "8g"
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 c87d0d1

Please sign in to comment.