• Kubernetes Submit Queue's avatar
    Merge pull request #39306 from hex108/oom_score_adj · 2cc9650e
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 38084, 39306)
    
    Small improve for GetContainerOOMScoreAdjust
    
    In `GetContainerOOMScoreAdjust`, make logic more clear for the case `oomScoreAdjust >= besteffortOOMScoreAdj`. If `besteffortOOMScoreAdj`  is defined to another value(e.g. 996), suppose `oomScoreAdjust` is 999, the function will return 998(which equals 999 - 1) instead of 995(996 -1).
    2cc9650e
Name
Last commit
Last update
..
BUILD Loading commit data...
doc.go Loading commit data...
policy.go Loading commit data...
policy_test.go Loading commit data...
qos.go Loading commit data...
qos_test.go Loading commit data...
types.go Loading commit data...