-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 add "max_fails" support #1208
Comments
Hi @huxos there have been some requests for more sophisticated health check filtering, can you describe your use case in a little more detail, and how you'd imagine "max_fails" would work? |
it means that after several consecutive failures change the check state to critical , not the first time failures discovered. |
Ok thanks. I'm going to mark this as a thinking ticket so we can see if something simple will meet a good 80% cut at people's needs. |
+1, will satisfy our requirements as an alternative to #1212 |
👍 |
+1, but also add minimum successes for recovering to healthy. The lack of this is also the only reason I'm not using Consul Enterprise. Constant notifications because of a random blip in a health check is something I can't deal with. |
+1 |
1 similar comment
+1 |
+1 this very important in leader election scenarios where a session could get invalidated just because a service check skipped a beat which would trigger un-necessary change in leader. |
To steal a page from a tool that already support this, Amazon ELB health checks have:
This small change helps prevent a tremendous amount of flapping. |
Closing this as a duplicate of #2890. |
Hi,
I use consul-templates to render nginx config file. I found that the nginx is always reload twice in a short interval, as the check state switching.
Would there be any interest in adding max_fails support for health check.
thanks.
The text was updated successfully, but these errors were encountered: