kubernetes/pkg/controller/podautoscaler
GuyTempleton 1efbde2815
Handle invalid metrics when scaling on multiple metrics
Handle a case in the Horizontal Pod Autoscaler Controller when scaling
on multiple metrics and one or more is missing or invalid.

If all metrics are missing - return an error and leave the isScalingActive
condition as that for the last invalid metric.

If some metrics are missing/invalid and some are valid and found -
if a scale up would be triggered by the valid metrics ignore the missing
metrics and scale up, if a scale down would be triggered, return an error
and leave the isScalingActive condition as that for the last invalid metric.
2019-05-29 23:20:40 +01:00
..
config auto-generated file 2019-03-02 12:55:26 +08:00
metrics remove unused code 2019-04-19 08:36:31 -04:00
BUILD auto-generated file 2019-03-02 12:55:26 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
horizontal_test.go Add tests for handling scaling on unavailable metrics 2019-05-29 23:11:32 +01:00
horizontal.go Handle invalid metrics when scaling on multiple metrics 2019-05-29 23:20:40 +01:00
legacy_horizontal_test.go Fix potential test flakes in HPA tests TestEventNotCreated and TestAvoidUncessaryUpdates 2019-04-17 08:10:33 -06:00
legacy_replica_calculator_test.go Use informer cache instead of active pod gets in HPA controller. 2018-09-05 11:31:27 +02:00
OWNERS Prune directxman12 from metrics/autoscaling OWNERS 2019-04-03 16:24:51 -07:00
rate_limiters.go Fix typos like limitting 2018-12-04 11:01:40 +08:00
replica_calculator_test.go Added functionality to use target average value for object metrics 2019-01-23 21:00:05 +01:00
replica_calculator.go Added functionality to use target average value for object metrics 2019-01-23 21:00:05 +01:00