chen99xiao opened a new issue, #10672:
URL: https://github.com/apache/apisix/issues/10672

   ### Description
   
   1、We deploy Apisix by k8s, and we will restart Apisix when adding something 
new.
   2、The production environment has a high flow.
   3、The Apisix restarts so fast that if we restart it directly, **there might 
be something wrong** for a long time (Through the monitoring of Nginx's 
apisix-upstream, it was found that the HTTP code of 5XX has increased).
   4、We speculate that it may be due to requests already coming in during the 
startup of Apisix, causing unforeseen internal issues within the Apisix.
   5、In fact, we start a new Apisix and then change the proxy to it, and this 
seems nothing wrong.
   **6、So i want to know is there any interface of apisix for k8s to check that 
the apisix is ready for request?**
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.15.0
   - Operating system (run `uname -a`): 5.4.236-1.el7.elrepo.x86_64 #1 SMP Mon 
Mar 13 21:36:53 EDT 2023 x86_64 Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 
openresty/1.21.4.1
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`): 3.5.0
   - APISIX Dashboard version, if relevant: 
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`): 3.8.0
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to