bugfix: configure oomAdjuster so that it gets passed on to the kubelet

This commit is contained in:
James DeFelice 2015-10-02 22:49:52 +00:00
parent 7007481f00
commit 54e99d9f52

View File

@ -198,6 +198,7 @@ func (s *KubeletExecutorServer) Run(hks hyperkube.Interface, _ []string) error {
DiskSpacePolicy: diskSpacePolicy,
Cloud: nil, // TODO(jdef) Cloud, specifying null here because we don't want all kubelets polling mesos-master; need to account for this in the cloudprovider impl
NodeStatusUpdateFrequency: s.NodeStatusUpdateFrequency,
OOMAdjuster: oomAdjuster,
ResourceContainer: s.ResourceContainer,
CgroupRoot: s.CgroupRoot,
ContainerRuntime: s.ContainerRuntime,