-
Notifications
You must be signed in to change notification settings - Fork 347
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
Health check endpoint is disabled for Traefik #228
Comments
What's the situation where you need to know specifically whether traefik is up in a way different from the app? Wouldn't your external LB want to take the IP out of rotation regardless of whether it's technically the app or Traefik? |
It is useful when you actually wanna check that host is alive but you do not care too much about an app. For example, if you have 2 apps sharing the same host. Here is the case I'm talking about:
I assume everything will be working fine if there is physically 1 app which is used to serve for 2 different domains. But as soon as we have 2 different apps with 2 different configs deployed to the same cluster we have a conflict for a |
I see. Yeah, things do start getting complicated like that. I think if you're in a high-availability requirement environment, I wouldn't recommend running multiple MRSK apps on the same hosts. Rather isolate each app to each host. BUT. I'm fine having a way for this being possible. Don't think it's a good default, though, to have these ports open. So maybe we can just start by expanding the documentation if needed? |
Sorry for the delay with response. I have been playing around with this problem for our apps to see what can be the best solution I could offer. Please, leave this issue open for a couple of more days to keep the context. There is chance I'm into something interesting. Or completely stupid 😄 Let's see. |
@kimrgrey do you have any update on this issue? |
Going to close this one as we are planning to remove Traefik from v2.0 |
Traefik has it's own health check endpoint called "ping". Here is a documentation: https://doc.traefik.io/traefik/operations/ping/. By default this endpoint connects to the entrypoint "traefik" (port 8080). But when traefik is started by mrsk this endpoint is not exposed, which means that external load balancer can not be configured to check if traefik is actually alive. Should we enable ping by default and expose port 8080?
At the moment it is possible to achieve it by adding following config:
But IMHO it could be a reasonable default behavior. Possible concern here is that not only 80 (main HTTP), but also 8080 (technical) will be exposed from server.
The text was updated successfully, but these errors were encountered: