0x101011 commented on issue #9796:
URL: https://github.com/apache/apisix/issues/9796#issuecomment-1624873567

   > > pisix is deployed in the K8S container cluster. When redeploying the 
container, Apisix reports 502. Is there any solution to avoid 502? Ps:
   > 
   > Rolling deployment of containers on the K8S platform
   > 
   > Ps:
   > 
   > The container has a health check, but the upstream service of Apisix does 
not have a health check
   > 
   > This is the real log returned by Apisix, and the sensitive parts have been 
replaced with xxx
   
   Yes Bro. I think your cluster maybe just haven On Upstream such as One Pod 
or other for "http://x.xxx.com/"; .
   So In Your `redeploying the container` Times , The Backend Server is 
Unavailable.
   If there have any request ,It should be 502 is normal.
   
   you seems need have more Pod and degrade your `Unavailable` server via 
Active HealthCheck .
   
   Hope tips have some help to you
   
   <img width="1074" alt="截屏2023-07-07 下午3 08 23" 
src="https://github.com/apache/apisix/assets/29942463/dc36c358-2ff3-4be8-8c9d-8fb2bbba5cf7";>
   


-- 
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