-
Notifications
You must be signed in to change notification settings - Fork 39.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPA controller sends unecessary updates #47077
Comments
cc @kubernetes/sig-autoscaling-bugs @derekwaynecarr |
@DirectXMan12 There are no sig labels on this issue. Please add a sig label by: |
@DirectXMan12 Aren't we always updating 'observedGeneration' field? |
@fgrzadkowski we don't actually seem to do anything with that field. There's nothing in the HPA controller about it. |
/assign @DirectXMan12 |
Automatic merge from submit-queue (batch tested with PRs 46979, 47078, 47138, 46916) HPA: only send updates when the status has changed This commit only sends updates if the status has actually changed. Since the HPA runs at a regular interval, this should reduce the volume of writes, especially on short HPA intervals with relatively constant metrics. Fixes #47077 **Release note**: ```release-note The HorizontalPodAutoscaler controller will now only send updates when it has new status information, reducing the number of writes caused by the controller. ```
BUG: the HPA controller submits updates every update interval, even if nothing has changed. In clusters with large numbers of HPAs, as well as clusters with smaller HPA sync periods, this can cause an unnecessarily high volume of writes.
The HPA controller should only send updates if it actually has a change to the HPA status object.
The text was updated successfully, but these errors were encountered: