• Beata Skiba's avatar
    Do not count failed pods as unready in HPA controller · e5f8bfa0
    Beata Skiba authored
    Currently, when performing a scale up, any failed pods (which can be present for example in case of evictions performed by kubelet) will be treated as unready. Unready pods are treated as if they had 0% utilization which will slow down or even block scale up.
    
    After this change, failed pods are ignored in all calculations. This way they do not influence neither scale up nor scale down replica calculations.
    e5f8bfa0
replica_calculator.go 14.1 KB