• Solly Ross's avatar
    HPA Controller: Check for 0-sum request value · c830d94d
    Solly Ross authored
    In certain conditions in which the set of metrics returned by Heapster
    is completely disjoint from the set of pods returned by the API server,
    we can have a request sum of zero, which can cause a panic (due to
    division by zero).  This checks for that condition.
    
    Fixes #39680
    c830d94d
Name
Last commit
Last update
..
metrics Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
horizontal.go Loading commit data...
horizontal_test.go Loading commit data...
replica_calculator.go Loading commit data...
replica_calculator_test.go Loading commit data...