Skip to content

Commit

Permalink
Add submariner to volsync env
Browse files Browse the repository at this point in the history
Volsync creates a service on the destination cluster using ClusterIP or
LoadBalancer. The recommended way to make the service accessible to the
source cluster is using submariner export. Minikube has a tunnel command
that can expose services using LoadBalancer, but it is painful to use.

Since our submariner addon requires the broker on a separate cluster,
add a tiny hub cluster.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Jul 4, 2023
1 parent 83f7391 commit 3f98ac1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/envs/volsync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,30 @@
name: volsync

templates:
- name: hub
driver: kvm2
container_runtime: containerd
network: default
cni: kindnet
memory: 2g
workers:
- addons:
- name: submariner
args: [hub, dr1, dr2]
- name: cluster
driver: kvm2
container_runtime: containerd
network: default
cni: kindnet
memory: 4g
disk_size: 50g
addons:
- volumesnapshots
- csi-hostpath-driver

profiles:
- name: hub
template: hub
- name: dr1
template: cluster
- name: dr2
Expand Down

0 comments on commit 3f98ac1

Please sign in to comment.