-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Support active health checking like HAProxy #824
Comments
We have mainly supported this via providers, eg in the docker and kubernetes providers. @klausenbusk what provider are you using? |
@errm I gonna use etcd to configure traefik. We currently use vulcand, but we need websocket support and I'm not gonna switch lb in prime time :) |
Yeah, I think that it does make sense to have this functionality in traefik, even if it is duplicated by most of the orchestration tools, for cases like this where people are rolling there own thing... |
Would be very handy for example in a Riak CS deployment to distribute Stanchion and have Træfik check http://stanchionhost/ping and check that it get's pong back, since you can only have one stanchion active at any one moment. |
We have a use-case here as well. It makes it nice for organizations that are in the process of incremental change from something like HAProxy. |
Closing, included in v1.2.0-rc1. |
Linking this PR here because it includes documentation and configuration examples: #1132 |
Hello
It could be very useful if Traefik had a option similar to HAProxy httpchk option.
The current solution (circuitbreaker) isn't enough, as it depends on a client request to be made first and that it wouldn't necessarily trigger if only ex. dynamic pages request fails.
Adding a
httpchk
option also allow clients to create a custom health script they can run on every server and thereby easily define what a healthy service is.Kristian
The text was updated successfully, but these errors were encountered: