mirror of
https://github.com/abh/geodns.git
synced 2026-04-27 03:45:53 +03:00
[GH-ISSUE #85] Health-check for endpoints #58
Labels
No labels
bug
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/geodns#58
Loading…
Add table
Add a link
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?
Originally created by @vteslia on GitHub (Sep 23, 2015).
Original GitHub issue: https://github.com/abh/geodns/issues/85
Hi,
is it possible to implement health-check for endpoints like in consul (https://github.com/hashicorp/consul) for prevent routing traffic to unhealthy nodes?
And add additional field 'check' for records.
Something like:
@abligh commented on GitHub (Sep 24, 2015):
Hi,
I've already implemented (awaiting comments and merge) health tests with this commit:
github.com/abligh/geodns@0bd80674ebwhich is in this pull request: https://github.com/abh/geodns/pull/73Assuming the script returns success / failure, that will work as standard using the
exechealth test type. Alternatively, you could write your own health test type that calls theconsulAPI. You might see how I didnodepingandpingdom.Finally, without the health test stuff above, you could always write your own framework to rewrite you JSON files dependent upon the result of your health tests.
Alex
@vteslia commented on GitHub (Sep 24, 2015):
Hi Alex,
thank you very much for your work. I am going to test it right now.
I have tried this way at first but my solution was cumbersome.
@sspans commented on GitHub (Feb 1, 2016):
Any progress on this?
@AnoopAlias commented on GitHub (Feb 13, 2018):
These features look really good. @abh - Please would you merge the same
@arhue commented on GitHub (Jan 5, 2019):
@abh Any updates?