Description
Hello,
We're deploying an Operator, our Reconciler uses standalone dependent resources and implements the EventSourceInitializer interface.
One of the dependent resources is a Horizontal Pod Autoscaler which monitors a StatefulSet. We recently observed that the currentMetrics
property of the status
field of the HPA gets updated frequently (couple of times in a minute). These events trigger reconciliations in our Operator which are redundant since the status field is not part of the desired state specification.
Could you tell us whether there is a standard solution to this issue or suggest an approach for avoiding these frequent reconciliations?
Environment
Java Operator SDK version 4.4.4
Java version 17
Kubernetes version 1.30.5
Best regards,
Veronika