Tanc010 opened a new issue, #2382:
URL: https://github.com/apache/apisix-ingress-controller/issues/2382

   ### Issue description
   
   
![Image](https://github.com/user-attachments/assets/e2aa9e75-d2c8-4e97-8f02-4ef099aa423a)
   我发现controller会间隔一段时间做一次全局的sync,每次sync都会作为Add事件最终执行etcd的create,这样就会出错。
   
   
![Image](https://github.com/user-attachments/assets/aa73de37-8b79-4d57-ba45-017bce7394a2)
   上面是定时做全局的sync
   
   
![Image](https://github.com/user-attachments/assets/d01a8335-de64-4c6f-8e0a-86d022646738)
   上面会将sync作为Add事件
   
   问题:是否可以sync的时候先判断如果etcd中有数据则进行Update而不是Create
   
   ### Environment
   
   - your apisix-ingress-controller version (output of 
apisix-ingress-controller version --long):
   - your Kubernetes cluster version (output of kubectl version):
   - if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (uname -a):
   


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