Merge pull request #100006 from cynepco3hahue/pass_cpuset_mems_to_dockershim

Pass cpuset.mems to the dockershim during container creation
This commit is contained in:
Kubernetes Prow Robot 2021-03-09 09:19:44 -08:00 committed by GitHub
commit 3f09686958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,6 +119,7 @@ func (ds *dockerService) updateCreateConfig(
CPUQuota: rOpts.CpuQuota,
CPUPeriod: rOpts.CpuPeriod,
CpusetCpus: rOpts.CpusetCpus,
CpusetMems: rOpts.CpusetMems,
}
createConfig.HostConfig.OomScoreAdj = int(rOpts.OomScoreAdj)
}