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

cache hostnames in LocalConfig for auto-detection of other swarm nodes #3

Open
stefanmaierhofer opened this issue Feb 16, 2023 · 0 comments

Comments

@stefanmaierhofer
Copy link
Member

if swarm join doesn't specify a [HOST], then cached hostnames should be used to auto-connect to the swarm
only if this fails, a new swarm is created

probably it also makes sense to store a LastSeen timestamp per hostname, so we can remove them from the list after a certain TTL (to be specified, probably a week or so)

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

No branches or pull requests

1 participant