Merge pull request #7869 from bprashanth/rc_rl

Rate limit replica creation
This commit is contained in:
Nikhil Jindal
2015-05-11 11:24:02 -07:00
7 changed files with 142 additions and 26 deletions

View File

@@ -215,7 +215,7 @@ func startComponents(firstManifestURL, secondManifestURL, apiVersion string) (st
// ensure the service endpoints are sync'd several times within the window that the integration tests wait
go endpoints.Run(3, util.NeverStop)
controllerManager := replicationControllerPkg.NewReplicationManager(cl)
controllerManager := replicationControllerPkg.NewReplicationManager(cl, replicationControllerPkg.BurstReplicas)
// TODO: Write an integration test for the replication controllers watch.
go controllerManager.Run(3, util.NeverStop)