Skip to content

split install.sh script into multiple scripts #63

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

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

nonsense
Copy link
Member

@nonsense nonsense commented Oct 23, 2020

This PR is addressing testground/testground#1166 and testground/testground#1129


  1. It is splitting the install.sh script into multiple scripts, so that these playbooks accommodate both for adhoc Kubernetes deployments (those that we have been creating until now), as well as Testground as a Server / upgradeable environment - one where you would want to be able to upgrade the Kubernetes cluster, but keep EFS and EBS in tact.

  2. It is splitting the global $NAME variable into $DEPLOYMENT_NAME and $CLUSTER_NAME - the rational is that DEPLOYMENT encompasses EBS, EFS and the Kubernetes cluster, whereas CLUSTER_NAME refers only to the Kubernetes cluster. This way we can create a new cluster, and easily attach it to an existing EFS file system and EBS volume (obviously the cluster needs to be in the same AWS region).

  3. It is adding EBS playbooks - until now we were storing the Testground datadir on a volume on the host EC2 instance. Now we are using an EBS volume for that purpose.

@nonsense nonsense marked this pull request as ready for review October 23, 2020 14:27
@nonsense nonsense requested review from raulk and hacdias October 23, 2020 14:27
@nonsense nonsense merged commit 5688f84 into master Oct 28, 2020
@nonsense nonsense deleted the slack-config-refactor-install branch October 28, 2020 15:14
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.

1 participant