Skip to content

Conversation

KaloyanTanev
Copy link
Contributor

@KaloyanTanev KaloyanTanev commented Nov 23, 2024

Multi cluster setup for CDVN.
Useful scripts that will help out users to use 1 EL + 1 CL with multiple Charons + VCs. Users will be able to spin up multiple clusters, without having to start separate EL and CL, saving up tremendous amount of resources.

Scripts have been tested on:
MacOS, with bash v5.2.26: ✅
Fresh Ubuntu, with bash 5.2.21: ✅

@KaloyanTanev KaloyanTanev self-assigned this Nov 23, 2024
@KaloyanTanev KaloyanTanev marked this pull request as draft November 23, 2024 19:39
@KaloyanTanev KaloyanTanev marked this pull request as ready for review December 3, 2024 11:19
rm -rf ./clusters
fi
}
trap 'cleanupClusterDir $?' EXIT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deletion looks scary :) Can we backup or add some mitigation/protection?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm it's a deletion of the folder that I'm just creating. Inside of it, there are only files that I've copied from the existing setup (no moving). I believe it's relatively safe to do so, as I want to achieve replicability - if the script fails, the user can fix the issue and simply run it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants