You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/01 07:38:54 UTC

[GitHub] [apisix] Donghui0 opened a new issue #4959: request help: healthcheck plugin can support passive checks alone ?

Donghui0 opened a new issue #4959:
URL: https://github.com/apache/apisix/issues/4959


   ### Issue description
   
   healthcheck plugin can support  passive checks alone?  like nginx upstream processing method. After exceeding the set failure threshold(max_fails), the node is removed, **after a period of time, try again**.
   
   relate issue: https://github.com/apache/apisix-ingress-controller/issues/632
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] Donghui0 commented on issue #4959: request help: healthcheck plugin can support passive checks alone ?

Posted by GitBox <gi...@apache.org>.
Donghui0 commented on issue #4959:
URL: https://github.com/apache/apisix/issues/4959#issuecomment-911136603


   > > After exceeding the set failure threshold(max_fails), the node is removed, **after a period of time, try again**.
   > 
   > I think active health checks can do this
   
   When there are many endpoint nodes, such as between 300 and 500. And when the number of k8s services is relatively large, active check will have higher CPU consumption.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #4959: request help: healthcheck plugin can support passive checks alone ?

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4959:
URL: https://github.com/apache/apisix/issues/4959#issuecomment-910387616


   > After exceeding the set failure threshold(max_fails), the node is removed, **after a period of time, try again**.
   
   I think active health checks can do this


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #4959: request help: healthcheck plugin can support passive checks alone ?

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4959:
URL: https://github.com/apache/apisix/issues/4959#issuecomment-911227946


   not supported yet.
   
   but I think it's a very useful feature, my initial ideas are as below:
   
   1. only passive health checks are enabled by default
   2. passive health check finds that the upstream node has failed and marks the node as unhealthy
   3. enable active health checks to probe unhealthy nodes
   4. once an unhealthy node is found to be recovered by active health checks, mark the node as healthy and stop active health checks on this node
   
   can you send an email to discuss this at dev@apisix.apache.org ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org