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

Random subnet fix #43

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Random subnet fix #43

merged 1 commit into from
Sep 13, 2024

Conversation

hhoover
Copy link
Collaborator

@hhoover hhoover commented Sep 13, 2024

previously the subnet was chosen at "random" for etcd nodes, unfortunately random can also mean "all in the same subnet" which breaks stuff.

Instead this uses the element function with the node_count as an index to always choose a different subnet for nodes.

@hhoover hhoover self-assigned this Sep 13, 2024
@hhoover hhoover merged commit 82bd0f4 into main Sep 13, 2024
2 checks passed
@hhoover hhoover deleted the pr/hhoover/randomfix branch September 13, 2024 18:36
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.

2 participants