k3s/pkg/kubelet/qos
Kubernetes Submit Queue 2cc9650e7e Merge pull request #39306 from hex108/oom_score_adj
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).
2017-01-04 07:18:07 -08:00
..
BUILD autogenerated 2016-12-29 13:04:10 -08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
policy.go Small improve for GetContainerOOMScoreAdjust 2016-12-29 21:25:43 +08:00
policy_test.go assign -998 as the oom_score_adj for critical pods. 2016-12-21 16:07:49 -08:00
qos.go cmd/kubelet 2016-11-23 15:53:09 -08:00
qos_test.go cmd/kubelet 2016-11-23 15:53:09 -08:00
types.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00