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

Add status URL for service up checks #642

Closed
wizzu opened this issue Aug 24, 2016 · 2 comments
Closed

Add status URL for service up checks #642

wizzu opened this issue Aug 24, 2016 · 2 comments

Comments

@wizzu
Copy link

wizzu commented Aug 24, 2016

It would be useful to have a URL provided by Traefik which can be used to detect that the service is running/up. E.g. "ping" or "gtg" URLs, which return a static 200 OK response to HTTP requests.

The use case where I ran across this is running Traefik inside a pod in a Kubernetes cluster. Kubernetes supports liveness and readiness probes via HTTP requests to a URL in the container, detecting if/when the container is ready to respond to requests (and also, if the probe requests fail, when it is considered down). There are probably other use cases (AWS ELB comes to mind) where this kind of feature would be useful.

I resorted to using the /health endpoint from the dashboard API for the purpose, but it's returning metrics which aren't needed for this use case, so doesn't seem ideal.

@emilevauge
Copy link
Member

This should be addressed by #630

@wizzu
Copy link
Author

wizzu commented Aug 25, 2016

Oh, that's fast. I had a look at the open issue listing, but apparently that was already merged so didn't show up. :) Looks indeed like it was already addressed. Thanks for the fast response!

@wizzu wizzu closed this as completed Aug 25, 2016
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants