Propose a script to quickly spawn a cluster #14

Merged
lx merged 1 commit from feature/cluster-example into master 2020-11-15 14:45:30 +00:00
Owner

Goal

screenshot

Provide a no-brainer command line to start hacking on garage without having to reflect on how to deploy a local setup.
The script only requires standard GNU tools (bash, grep, cat, sleep).

Non-Goals

This script is not a generic wrapper to start or deploy a garage cluster (like bash scripts we often see in java projects. If you don't understand what I mean, go check Jitsi or Icescrum).
It is not a powerful development tool that you can dynamically tweak to set the right amount of verbosity, the right amount of nodes, etc.
If you have special needs, just use this script as a template and modify it locally to your needs.

Limitations

The script does not yet configure the nodes.
But I am not sure we want to do it yet: what do we do if two nodes are configured but not the last one.
I am note sure how I want to get node IDs as they are truncated in garage status.
I think we could say it is out of scope, at least for this PR.

### Goal ![screenshot](/attachments/f08c429c-7f78-4c15-9370-8b19cd546efc) Provide a no-brainer command line to start hacking on garage without having to reflect on how to deploy a local setup. The script only requires standard GNU tools (bash, grep, cat, sleep). ### Non-Goals This script is not a generic wrapper to start or deploy a garage cluster (like bash scripts we often see in java projects. If you don't understand what I mean, go check Jitsi or Icescrum). It is not a powerful development tool that you can dynamically tweak to set the right amount of verbosity, the right amount of nodes, etc. If you have special needs, just use this script as a template and modify it locally to your needs. ### Limitations The script does not yet configure the nodes. But I am not sure we want to do it yet: what do we do if two nodes are configured but not the last one. I am note sure how I want to get node IDs as they are truncated in `garage status`. I think we could say it is out of scope, at least for this PR.
lx merged commit 044d798877 into master 2020-11-15 14:45:29 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#14
No description provided.