Skip to content

Commit

Permalink
Add volumesnapshots and csi-hostpath-driver to regional-dr
Browse files Browse the repository at this point in the history
With these addons we can deploy busybox using `csi-hostpath-sc` storage
class and ramen will setup replication using volsync and submariner.

Testing with basic-test::
- deploy works
- undeploy works
- failover partly works, moving the application to the destination
  cluster, but clean up never finish
- relocate partly works, moving the application to the destination
  cluster, but clean up never finish.

Example run:

    $ drenv start envs/volsync.yaml
    2023-06-15 20:18:27,549 INFO    [volsync] Starting environment
    2023-06-15 20:18:27,580 INFO    [dr1] Starting minikube cluster
    2023-06-15 20:18:28,615 INFO    [dr2] Starting minikube cluster
    2023-06-15 20:25:08,994 INFO    [dr1] Cluster started in 401.41 seconds
    2023-06-15 20:25:08,994 INFO    [dr1/0] Running addons/volsync/start
    2023-06-15 20:25:31,110 INFO    [dr2] Cluster started in 422.49 seconds
    2023-06-15 20:25:31,110 INFO    [dr2/0] Running addons/volsync/start
    2023-06-15 20:28:00,920 INFO    [dr1/0] addons/volsync/start completed in 171.93 seconds
    2023-06-15 20:28:22,928 INFO    [dr2/0] addons/volsync/start completed in 171.82 seconds
    2023-06-15 20:28:22,929 INFO    [volsync] Environment started in 595.38 seconds

The new addons slow down start by 6 minutes, but I'm testing with very
slow network. Need to test again with good network.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Jun 15, 2023
1 parent 991defa commit 2743857
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/envs/regional-dr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ templates:
memory: "6g"
extra_disks: 1
disk_size: "50g"
addons:
- volumesnapshots
- csi-hostpath-driver
workers:
- addons:
- name: cert-manager
Expand Down

0 comments on commit 2743857

Please sign in to comment.