Merge pull request #15645 from ArtfulCoder/oneNS

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-12-01 13:51:37 -08:00
5 changed files with 19 additions and 8 deletions

View File

@@ -704,7 +704,7 @@ func SimpleKubelet(client *client.Client,
osInterface kubecontainer.OSInterface,
fileCheckFrequency, httpCheckFrequency, minimumGCAge, nodeStatusUpdateFrequency, syncFrequency time.Duration,
maxPods int,
containerManager cm.ContainerManager) *KubeletConfig {
containerManager cm.ContainerManager, clusterDNS net.IP) *KubeletConfig {
imageGCPolicy := kubelet.ImageGCPolicy{
HighThresholdPercent: 90,
LowThresholdPercent: 80,
@@ -719,6 +719,7 @@ func SimpleKubelet(client *client.Client,
CAdvisorInterface: cadvisorInterface,
CgroupRoot: "",
Cloud: cloud,
ClusterDNS: clusterDNS,
ConfigFile: configFilePath,
ContainerManager: containerManager,
ContainerRuntime: "docker",