container_manager: use oomScoreAdj instead of default when set

This commit is contained in:
Matthias Bertschy
2021-11-02 10:12:20 +01:00
parent 1659924a97
commit 9500ee9d9c
3 changed files with 4 additions and 3 deletions

View File

@@ -702,6 +702,7 @@ func run(ctx context.Context, s *options.KubeletServer, kubeDeps *kubelet.Depend
RuntimeCgroupsName: s.RuntimeCgroups,
SystemCgroupsName: s.SystemCgroups,
KubeletCgroupsName: s.KubeletCgroups,
KubeletOOMScoreAdj: s.OOMScoreAdj,
CgroupsPerQOS: s.CgroupsPerQOS,
CgroupRoot: s.CgroupRoot,
CgroupDriver: s.CgroupDriver,