Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: multi cluster setup #294

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open

*: multi cluster setup #294

wants to merge 40 commits into from

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
README.md Show resolved Hide resolved
multi_cluster/setup.sh Outdated Show resolved Hide resolved
multi_cluster/setup.sh Outdated Show resolved Hide resolved
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.

multi_cluster/cluster.sh Outdated Show resolved Hide resolved
multi_cluster/cluster.sh Outdated Show resolved Hide resolved
multi_cluster/cluster.sh Outdated Show resolved Hide resolved
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