Fix duplicated rate limit in scheduler

Remove BindingRateLimiterSaturation metrics

Update generated doc
This commit is contained in:
harry
2015-12-28 17:04:29 +08:00
committed by Harry Zhang
parent e1a71fefaa
commit 080cb60dab
13 changed files with 20 additions and 123 deletions

View File

@@ -39,7 +39,6 @@ import (
// It returns scheduler config factory and destroyFunc which should be used to
// remove resources after finished.
// Notes on rate limiter:
// - The BindPodsRateLimiter is nil, meaning no rate limits.
// - client rate limit is set to 5000.
func mustSetupScheduler() (schedulerConfigFactory *factory.ConfigFactory, destroyFunc func()) {
framework.DeleteAllEtcdKeys()
@@ -58,7 +57,7 @@ func mustSetupScheduler() (schedulerConfigFactory *factory.ConfigFactory, destro
Burst: 5000,
})
schedulerConfigFactory = factory.NewConfigFactory(c, nil, api.DefaultSchedulerName)
schedulerConfigFactory = factory.NewConfigFactory(c, api.DefaultSchedulerName)
schedulerConfig, err := schedulerConfigFactory.Create()
if err != nil {
panic("Couldn't create scheduler config")