Skip to content

Commit 754696d

Browse files
committed
UPSTREAM: 47078: 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.
1 parent ba62cde commit 754696d

File tree

2 files changed

+141
-10
lines changed

2 files changed

+141
-10
lines changed

vendor/k8s.io/kubernetes/pkg/controller/podautoscaler/horizontal.go

Lines changed: 31 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/k8s.io/kubernetes/pkg/controller/podautoscaler/horizontal_test.go

Lines changed: 110 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)