Merge pull request #100644 from Huang-Wei/sched-fwk-config

Surface kube config in scheduler framework handle
This commit is contained in:
Kubernetes Prow Robot
2021-04-12 19:12:49 -07:00
committed by GitHub
11 changed files with 55 additions and 14 deletions

View File

@@ -99,7 +99,7 @@ func mustSetupScheduler(config *config.KubeSchedulerConfiguration) (util.Shutdow
// Not all config options will be effective but only those mostly related with scheduler performance will
// be applied to start a scheduler, most of them are defined in `scheduler.schedulerOptions`.
_, podInformer, schedulerShutdown := util.StartScheduler(client, config)
_, podInformer, schedulerShutdown := util.StartScheduler(client, cfg, config)
fakePVControllerShutdown := util.StartFakePVController(client)
shutdownFunc := func() {