kubernetes/pkg/controller/podautoscaler
Rinat Shigapov d55f037b7d HPA scale-to-zero for custom object/external metrics
Add support for scaling to zero pods

minReplicas is allowed to be zero

condition is set once

Based on https://github.com/kubernetes/kubernetes/pull/61423

set original valid condition

add scale to/from zero and invalid metric tests

Scaling up from zero pods ignores tolerance

validate metrics when minReplicas is 0

Document HPA behaviour when minReplicas is 0

Documented minReplicas field in autoscaling APIs
2019-07-16 08:46:21 -05: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 HPA scale-to-zero for custom object/external metrics 2019-07-16 08:46:21 -05:00
horizontal.go HPA scale-to-zero for custom object/external metrics 2019-07-16 08:46:21 -05: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 Ignore pending pods. 2019-07-10 12:16:33 +02:00
replica_calculator.go HPA scale-to-zero for custom object/external metrics 2019-07-16 08:46:21 -05:00