-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Scheduler Replica Propagation #6045
Comments
There are two scenarios:
Which scenario do you belong to? |
I would expect to have a Deployment as Input {CPU, RAM, Replicas, DelayThreshold}, that would have to be scheduled on a multi-cluster environment based on dynamic metrics such as expected incoming traffic, network delays, resource consumption etc. So, at its simplest form I would be interested in the 1st case where only replica propagation matters, but if you can dive a bit deeper and also explain how this would expand to adjust replica allocation dynamically and not only statically when first scheduling, I'd be grateful, since I am not 100% sure which use case we will end up following. |
For 1st case, you can try implement a custom You known as for dynamic weight scheduling strategy, Currently, the |
|
no,
I didn't get your doubts, in fact, there can be multiple estimators working in the scheduler (General Cluster Modeling is a general estimator and scheduler-estimator is a accurate estimator). The relationship between different estimators is: karmada/pkg/scheduler/core/util.go Lines 72 to 92 in 820fd06
|
I mean to say that since the scheduler-estimator was created to "fix" the problems that the general estimator had, is there any use case for the general estimator anymore? |
Is it normal that the scheduler-estimator was working even without using the |
Sorry, this got buried in my notifications. the generic estimator is still useful, it serves as a default fallback estimator with lower overhead:
|
I still don't understand what you mean. The script is just one way to install the component, we only care about whether the component exists, as there are many installation methods. |
No problem, all good! Ok I will try to explain it better. I was propagating a deployment using either Aggregate or Weighted/Dynamic/AvailableReplicas for replica propagation, but without having deployed the scheduler-estimator with the script provided (I had set up karmada and joined member clusters but there were no scheduler-estimator pods running for the members). Both of these worked without the scheduler-estimator as they would if I had the scheduler estimator, meaning that they correctly assigned the pods to each cluster. Is the default ClusterResourceModel used in that case when we haven't deployed the estimator? |
Since
ReplicaScheduling
step is not customisable on the Scheduling Process, what is the way to go if I were to do that? If for example I score some clusters based on custom metrics and I would like to assign replicas to them based on these scores, is it possible (if it's not, where would cluster scores be used, because I am struggling to come up with a use case other than replica propagation)? Or would it require something like custom controllers to do that?The text was updated successfully, but these errors were encountered: