fix deschedulerestimator connection error
Signed-off-by: carlory <baofa.fan@daocloud.io>
This commit is contained in:
parent
4870c30f9d
commit
a98a551c5d
|
@ -70,6 +70,7 @@ func NewDescheduler(karmadaClient karmadaclientset.Interface, kubeClient kuberne
|
||||||
clusterLister: factory.Cluster().V1alpha1().Clusters().Lister(),
|
clusterLister: factory.Cluster().V1alpha1().Clusters().Lister(),
|
||||||
schedulerEstimatorCache: estimatorclient.NewSchedulerEstimatorCache(),
|
schedulerEstimatorCache: estimatorclient.NewSchedulerEstimatorCache(),
|
||||||
schedulerEstimatorPort: opts.SchedulerEstimatorPort,
|
schedulerEstimatorPort: opts.SchedulerEstimatorPort,
|
||||||
|
schedulerEstimatorServicePrefix: opts.SchedulerEstimatorServicePrefix,
|
||||||
unschedulableThreshold: opts.UnschedulableThreshold.Duration,
|
unschedulableThreshold: opts.UnschedulableThreshold.Duration,
|
||||||
deschedulingInterval: opts.DeschedulingInterval.Duration,
|
deschedulingInterval: opts.DeschedulingInterval.Duration,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue