![]() Similar to the change we made for `GetObjectMetricReplicas` in the previous commit. Ensure that `GetExternalMetricReplicas` does not include unready pods when its determining how many replica it desires. Including unready pods can lead to over-scaling. We did not change the behavior of `GetExternalPerPodMetricReplicas`, as it is slightly less clear what is the desired behavior. We did make some small naming refactorings to this method, which will make it easier to ignore unready pods if we decide we want to. |
||
---|---|---|
.. | ||
metrics | ||
BUILD | ||
doc.go | ||
horizontal_test.go | ||
horizontal.go | ||
legacy_horizontal_test.go | ||
legacy_replica_calculator_test.go | ||
OWNERS | ||
rate_limitters.go | ||
replica_calculator_test.go | ||
replica_calculator.go |