• mattjmcnaughton's avatar
    Refactor `reconcileAutoscaler` method in hpa · e74838b6
    mattjmcnaughton authored
    There have been a couple of recent bugs in the "normalizing" part of the
    `reconcileAutoscaler` method. This part of the code base is responsible
    for, among other things, taking the suggested desired replicas based on
    the metrics, ensuring it conforms to certain conditions, and updating it
    if it does not. Isolate the part that converts the desired replicas
    based on a given set of rules into its own function.
    
    We are refactoring this part of the code base to make the logic simpler
    and to make it easier to write unit tests.
    e74838b6
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...
legacy_horizontal_test.go Loading commit data...
legacy_replica_calculator_test.go Loading commit data...
rate_limitters.go Loading commit data...
replica_calculator.go Loading commit data...
replica_calculator_test.go Loading commit data...