zhixiongdu027 commented on issue #7791:
URL: https://github.com/apache/apisix/issues/7791#issuecomment-1227912215

   >1.  In my understanding, the list-watch should be in the master worker. If 
I execute apisix reload, it should not cause the list-watch to be re-listed. I 
don’t know if it is correct.
   
     Yes,  it is correct.
   
   
   > 2.  After the first list in k8s is completed, all endpoints will be 
obtained. At this time, the service should be able to obtain upstreams, but 
when will the first list be completed, there will be log printing or is there 
any other way to obtain it
   
   
![image](https://user-images.githubusercontent.com/4032302/186795388-796ee3b1-afe3-45db-ba48-48fe0396f04e.png)
   
   There is no interface to show get the state of List-Watch 
   
   Maybe you can sense this by log "list failed " or log "begin to watch ",
   If you are willing to modify the source code, you can add an interface to 
read the value of informer.fetch_state
   
   
   > 3. because the list-watch is performed on apisix, whether there are 
multiple apisix instances in theory, the Upstream of the same service may be 
differen
   
   exactly as you said, but I think it's the price of multiple apisix


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