kubernetes/pkg/controller/podautoscaler
Kubernetes Submit Queue b39cde37c9 Merge pull request #29212 from sjenning/hpa-idling
Automatic merge from submit-queue

HPA: ignore scale targets whose replica count is 0

Disable HPA when the user (or another component) explicitly sets the replicas to 0.

Fixes #28603

@kubernetes/autoscaling @fgrzadkowski @kubernetes/rh-cluster-infra @smarterclayton @ncdc

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29212)
<!-- Reviewable:end -->
2016-08-09 10:44:56 -07:00
..
metrics Extra debug information in HPA events 2016-07-19 17:00:45 +02:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
horizontal_test.go hpa: ignore scale targets whose replica count is 0 2016-08-09 11:11:17 -05:00
horizontal.go hpa: ignore scale targets whose replica count is 0 2016-08-09 11:11:17 -05:00