• Kubernetes Submit Queue's avatar
    Merge pull request #68068 from krzysztof-jastrzebski/hpas2 · 2548fb08
    Kubernetes Submit Queue authored
    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.
    ```
    2548fb08
Name
Last commit
Last update
..
README.md Loading commit data...
violation_exceptions.list Loading commit data...