• Michael Taufen's avatar
    Ignore 0% and 100% eviction thresholds · 21dbbe14
    Michael Taufen authored
    Primarily, this gives a way to explicitly disable eviction, which is
    necessary to use omitempty on EvictionHard.
    See: https://github.com/kubernetes/kubernetes/pull/53833#discussion_r166672137
    
    As justification for this approach, neither 0% nor 100% make sense as
    eviction thresholds; in the "less-than" case, you can't have less than
    0% of a resource and 100% perpetually evicts; in the
    "greater-than" case (assuming we ever add a resource with this
    semantic), the reasoning is the reverse (not more than 100%, 0%
    perpetually evicts).
    21dbbe14
Name
Last commit
Last update
..
api Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
eviction_manager.go Loading commit data...
eviction_manager_test.go Loading commit data...
helpers.go Loading commit data...
helpers_test.go Loading commit data...
threshold_notifier_linux.go Loading commit data...
threshold_notifier_unsupported.go Loading commit data...
types.go Loading commit data...