pbaranow commented on issue #12989:
URL: https://github.com/apache/apisix/issues/12989#issuecomment-4011004684

   I can confirm this issue happens with `ApisixGlobalRule` objects configured. 
I found following log in `apisix` pod logs at the time where 
`apisix-ingress-controller` complained about issue with synchronizing the 
configuration:
   ```
   [lua] health_check.lua:114: report_failure(): update endpoint: 
http://127.0.0.1:2379 to unhealthy, client: 10.103.12.70, server: , request: 
"PUT /apisix/admin/configs HTTP/1.1
   ```
   
   It might come from `reload_plugins` which calls `sync_local_conf_to_etcd` 
unconditionally:
   https://github.com/apache/apisix/blob/3.15.0/apisix/admin/init.lua#L375-L382
   
   as opposed to `_init`, where there's a check if apisix is configured to run 
in `standalone` mode:
   https://github.com/apache/apisix/blob/3.15.0/apisix/admin/init.lua#L506-L508


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