kubernetes/pkg/controller/podautoscaler
Kubernetes Submit Queue 2548fb08cd
Merge pull request #68068 from krzysztof-jastrzebski/hpas2
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Change CPU sample sanitization in HPA.

**What this PR does / why we need it**:
Change CPU sample sanitization in HPA.
    Ignore samples if:
    - Pod is beeing initalized - 5 minutes from start defined by flag
        - pod is unready
        - pod is ready but full window of metric hasn't been colected since
        transition
    - Pod is initialized - 5 minutes from start defined by flag:
        - Pod has never been ready after initial readiness period.

**Release notes:**
```release-note
Improve CPU sample sanitization in HPA by taking metric's freshness into account.
```
2018-08-31 10:17:44 -07:00
..
metrics Change CPU sample sanitization in HPA. 2018-08-30 23:13:14 +02:00
BUILD Add dry run test for hpa v2beta2 2018-08-27 11:37:22 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
horizontal_test.go Merge pull request #68068 from krzysztof-jastrzebski/hpas2 2018-08-31 10:17:44 -07:00
horizontal.go Implement autoscaling/v2beta2 features in HPA controller 2018-08-27 11:07:52 -04:00
legacy_horizontal_test.go Change CPU sample sanitization in HPA. 2018-08-30 23:13:14 +02:00
legacy_replica_calculator_test.go Change CPU sample sanitization in HPA. 2018-08-30 23:13:14 +02:00
OWNERS Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
rate_limitters.go Fix golint errors in pkg/controller/podautoscaler 2017-09-09 14:53:34 -04:00
replica_calculator_test.go Merge pull request #68068 from krzysztof-jastrzebski/hpas2 2018-08-31 10:17:44 -07:00
replica_calculator.go Merge pull request #68068 from krzysztof-jastrzebski/hpas2 2018-08-31 10:17:44 -07:00