-
Notifications
You must be signed in to change notification settings - Fork 300
Is it possible to disable healthcheck for a specific app #612
Comments
@soualid Simply omit the |
@paambaati I can't because I need marathon to keep restarting the application if its health check fails It could be useful to make this behavior configurable, not sure it is actually feasible without hard coding the ports configuration in marathon as well as in the |
@soualid See this: https://github.com/mesosphere/marathon-lb/blob/master/Longhelp.md#haproxy_backend_server_options
Above template don't make healthcheck option for the haproxy in marathon-lb. |
Thank you @minyk but I think it will not work when using the In fact, I would like to have a flag that make marathon-lb keep unhealthy backend in the haproxy configuration. It would be especially useful for single instance applications, which are actually made inaccessible by marathon-lb immediately when a healthcheck fails, even if the |
Hello,
I am aware of the
-H --health-check
option but I am looking for a way to disable health check for specific apps, I guess it should be possible using a properHAPROXY_0_BACKEND_HTTP_HEALTHCHECK_OPTIONS
label but I cannot find a hint on how to achieve that in the documentation.Sorry if the question has already been asked somewhere.
Thank you in advance.
The text was updated successfully, but these errors were encountered: