Retry resizing replication controllers in kubectl

This commit is contained in:
Prashanth Balasubramanian
2015-02-28 18:40:57 -08:00
parent 71e545bf81
commit 1970c2d201
7 changed files with 113 additions and 12 deletions

View File

@@ -133,7 +133,7 @@ func runControllerManager(machineList []string, cl *client.Client, nodeMilliCPU,
go util.Forever(func() { endpoints.SyncServiceEndpoints() }, time.Second*10)
controllerManager := controller.NewReplicationManager(cl)
controllerManager.Run(10 * time.Second)
controllerManager.Run(controller.DefaultSyncPeriod)
}
func startComponents(etcdClient tools.EtcdClient, cl *client.Client, addr net.IP, port int) {