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

WIP - Adds chooseOne function for rendezvous hashing load balancing #1568

Closed
wants to merge 5 commits into from

Conversation

mikenomitch
Copy link

@mikenomitch mikenomitch commented Apr 8, 2022

WIP - Proof of concept helper for rendezvous hashing for load balancing nomad (and consul) services

schmichael and others added 3 commits April 7, 2022 17:27
Adds 2 functions for retrieving services from Nomad:

- nomadServices - retrieves all services from Nomad
- nomadService - retrieves all registrations for a service

Tag filtering for `nomadService` is currently implemented in
consul-template as the Nomad API does not support it directly.

Tests use a Nomad binary on path and require Nomad 1.3.0-beta or a
binary built from the PR: hashicorp/nomad#12458

Tests also require Docker.
@schmichael schmichael force-pushed the nomad-service-discovery branch 2 times, most recently from 0a06db4 to bdfcb5a Compare April 10, 2022 22:37
@jrasell jrasell requested review from angrycub and removed request for angrycub April 11, 2022 07:09
@schmichael schmichael force-pushed the nomad-service-discovery branch from 08818ce to ada73b6 Compare April 12, 2022 16:02
@mikenomitch mikenomitch requested a review from a team April 12, 2022 16:02
Base automatically changed from nomad-service-discovery to master April 12, 2022 23:36
@mikenomitch mikenomitch changed the title Adds chooseOne function for rendezvous hashing load balancing WIP - Adds chooseOne function for rendezvous hashing load balancing Apr 15, 2022
@mikenomitch
Copy link
Author

Closing this one out - this idea will be picked back up by a Nomad engineer in the near future!

@eikenb eikenb deleted the add-rendezvous-hashed-load-balancing branch August 18, 2022 20:09
@eikenb eikenb restored the add-rendezvous-hashed-load-balancing branch August 18, 2022 20:09
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