Skip to content

karmada scheduler supports user-customizable scheduler estimator mode #6416

Description

@LivingCcj

When karmada scheduler use scheduler estimator feature, the replicaEstimators.maxAvailableReplicas will invoke accurate scheduler estimator and general scheduler estimator.
In practical scenarios, we prefer to determine which scheduler estimators to enable through parameter configuration.
There are three kind of scheduler estimator mode:
1、general scheduler-estimator
2、resource model scheduler-estimator
3、accurate scheduler-estimator

Current configuration:
1、 general scheduler-estimator

func init() {
replicaEstimators["general-estimator"] = NewGeneralEstimator()
}

2、accurate scheduler-estimator
func RegisterSchedulerEstimator(se *SchedulerEstimator) {
replicaEstimators["scheduler-estimator"] = se
unschedulableReplicaEstimators["scheduler-estimator"] = se
}

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Planning

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions