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

Using ArangoDB Starter When Nodes' IP Addresses May Change #442

Open
SeriousBeetle opened this issue Nov 17, 2024 · 0 comments
Open

Using ArangoDB Starter When Nodes' IP Addresses May Change #442

SeriousBeetle opened this issue Nov 17, 2024 · 0 comments

Comments

@SeriousBeetle
Copy link

Hello there!
I have been experimenting with setting up an ArangoDB cluster on multiple nodes using the starter, and noticed that in the generated setup.json and arangod_command.txt, even though I specified (in --starter.join) their hostnames, it inevitably resolves to their IP addresses (e.g., the Address field of the peer in setup.json or the --agency.endpoint in the various arangod_command.txt in the coordinator/dbserver directories).
However, it looks like it keeps the leader's address intact in all these places, which is my desired behaviour.

I am currently working in an environment that cannot guarantee the stability of IP addresses, only their hostnames (DNS) (it's k8s, but I cannot use the operator (cluster admins won't allow it) and cannot switch to VMs).

Is there any way to use the starter without it resolving and passing the IP addresses, only the hostnames (as I originally specified in the arangodb --starter.join A,B,C command?)

I can attach a docker-compose.yml that highlights this behaviour if needed.

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