kubernetes/pkg/controller/podautoscaler
mattjmcnaughton d33494d459 GetExternalMetricReplicas ignores unready pods
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.
2018-03-13 22:27:28 -04:00
..
metrics Implement external metrics in HPA 2018-02-27 14:10:29 +01:00
BUILD Implement external metrics in HPA 2018-02-27 14:10:29 +01:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
horizontal_test.go GetObjectMetricReplicas ignores unready pods 2018-03-07 08:13:01 -05:00
horizontal.go GetExternalMetricReplicas ignores unready pods 2018-03-13 22:27:28 -04:00
legacy_horizontal_test.go remove duplicated import 2018-01-17 09:34:59 +08:00
legacy_replica_calculator_test.go Make HPA tolerance a flag 2017-09-28 22:01:51 -04:00
OWNERS Add approvers to owners file for hpa 2017-07-18 13:23:43 +02:00
rate_limitters.go Fix golint errors in pkg/controller/podautoscaler 2017-09-09 14:53:34 -04:00
replica_calculator_test.go GetExternalMetricReplicas ignores unready pods 2018-03-13 22:27:28 -04:00
replica_calculator.go GetExternalMetricReplicas ignores unready pods 2018-03-13 22:27:28 -04:00