Pre-generate Node Id/keys #929
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#929
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently node keys are generated on initial start, which is great but i would like to pregenerate those keys and be able to set them prior to the initial boot to better be able to utilize the
bootstrap_peers
parameter in the garage.toml.The end goal here is to be able to deploy a garage cluster without the need to utilize any form of service discovery, or using post startup scripts/pipelines/cicd tools to setup the cluster to talk to one another.
Essentially so render a template prior to deployment like below and then just configure the cluster layout.
I've considered spinning up a vm or container with the same hostname and grabbing the config but that seems a bit of a hacky workaround and adds additional steps that I'm trying to avoid
Note this is a VM deployment not container based, and without the need for the additional overhead required by something like Consul.
I'm open to alternative approaches if one exists.