Skip to content

Frequent Operator reconciliations due to Horizontal Pod Autoscaler dependent resource status updates #2663

Closed
@VeronikaMeunier

Description

@VeronikaMeunier

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions