Merge pull request #3498 from pravisankar/ravi/sync-nodes-optional

Make periodic sync nodes from -cloud_provider/-machines optional.
This commit is contained in:
Deyuan Deng
2015-02-09 17:45:56 -05:00
7 changed files with 30 additions and 13 deletions

View File

@@ -203,7 +203,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
nodeResources := &api.NodeResources{}
nodeController := nodeControllerPkg.NewNodeController(nil, "", machineList, nodeResources, cl, fakeKubeletClient{})
nodeController.Run(5*time.Second, 10)
nodeController.Run(5*time.Second, 10, true)
// Kubelet (localhost)
testRootDir := makeTempDirOrDie("kubelet_integ_1.")