karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.51k stars 892 forks source link

Cost aware scheduling support #3714

Open yuriy-yarosh opened 1 year ago

yuriy-yarosh commented 1 year ago

What would you like to be added:

Cost aware scheduling with the respective scheduling-estimator, as per #3447.

Why is this needed:

Karmada could improve community adoption greatly if it would be possible to perform cost optimizations for certain types of workloads (DRA integration for GPU / SRIOV devices cost awareness might be required). So, it could be possible to switch from one cluster to another, when the specific ResourceClass became cheaper there, for cost optimization.

RainbowMango commented 1 year ago

Totally agree, I like the idea. Can you help to provide some use cases in more detail?

cc guys who might be interested in it. @chaosi-zju

realnumber666 commented 1 year ago

Hi @RainbowMango, this is a very interesting and practical idea that I'm eager to implement. Should I divide the implementation into smaller tasks and pick some to complete, or would you prefer to divide the idea into smaller tasks for me?

RainbowMango commented 1 year ago

I think we can go with a proposal to illustrate the whole feature.

realnumber666 commented 1 year ago

I think we can go with a proposal to illustrate the whole feature.

OK! I will try to work on this proposal!

realnumber666 commented 1 year ago

I think we can go with a proposal to illustrate the whole feature.

I tried to design and write a proposal #4187 for cost aware scheduling, could you please review it and give me some suggestions?

RainbowMango commented 1 year ago

Sure, thank you, I'll take a look ASAP, and will leave my comment there.