koordinator icon indicating copy to clipboard operation
koordinator copied to clipboard

[proposal] improve the failed event of Reservation's scheduling

Open eahydra opened this issue 1 year ago • 4 comments

What is your proposal:

The reservation plugin of koord-scheduler traverses all reservations with the Restricted policy and determines whether a certain Reservation satisfies the Pod. When all reservations cannot be satisfied, we lose reasonable information, such as which resources cannot be satisfied, which can help users diagnose themselves.

So we should aggregate these messages to users.

Why is this needed:

Is there a suggested solution, if so, please add it:

eahydra avatar Feb 21 '24 07:02 eahydra

Hello, I am interested in solving this problem and starting to contribute to the community. Are there any good entry points to understand the code, for example, some test-cases? Or some fields?

YarBor avatar Feb 28 '24 04:02 YarBor

Hello, I am interested in solving this problem and starting to contribute to the community. Are there any good entry points to understand the code, for example, some test-cases? Or some fields?

Welcome! You can start by reading the design documentation in the docs folder. And read the code for reservation scheduling, which is in package pkg/scheduler/plugins/reservation.

BTW, the code to be modified is the Filter method of the Reservation plug-in, and you need to ensure that the error message returned is clearer.

eahydra avatar Mar 01 '24 07:03 eahydra

/assign

ZiMengSheng avatar Mar 05 '24 03:03 ZiMengSheng

Hi @YarBor , because we need to solve internal needs and need to solve this issue as soon as possible, @ZiMengSheng will implement it first. If you are interested, you can check out other issues.

eahydra avatar Mar 05 '24 03:03 eahydra