The object has been modified; please apply your changes to the latest version and try again

Hello Kong community,

I’m currently using Kong Ingress in my Kubernetes cluster with the following setup:

Kong Ingress-controller version: kong/kubernetes-ingress-controller:2.11

Kong version: kong:3.3

I’ve encountered recurring errors in the ingress-controller logs, where it seems the controller is failing to reconcile KongConsumer objects. Here’s a snippet of the error logs:

time="2024-09-30T08:15:42Z" level=error msg="Reconciler error" error="Operation cannot be fulfilled on kongconsumers.configuration.konghq.com \"anonymized-consumer\": the object has been modified; please apply your changes to the latest version and try again" logger=controllers.KongConsumer reconcileID="\"796c9382-b20e-485f-909b-8bd0664db3dc\""
...

This error is raised repeatedly for several consumers, and the message indicates that the object has been modified and suggests applying changes to the latest version.

Has anyone faced a similar issue or have any suggestions on how to resolve these reconciliation errors? Any insight into the cause and potential fixes would be greatly appreciated.

Thanks in advance!

Update:

The error occurs only when I have more than one Kong Ingress pod. Somehow, the replicas are conflicting with each other.