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

@@ -287,6 +287,7 @@ func (o *Options) Config() (*schedulerappconfig.Config, error) {
}
c.Client = client
c.KubeConfig = kubeConfig
c.InformerFactory = scheduler.NewInformerFactory(client, 0)
c.LeaderElection = leaderElectionConfig