docs: add design for priority-based in-quota reclaim - #2092
Conversation
e998c6b to
764dfc8
Compare
Signed-off-by: davidLif <davidshani12@gmail.com>
… docs Signed-off-by: davidLif <davidshani12@gmail.com>
Signed-off-by: davidLif <davidshani12@gmail.com>
Signed-off-by: davidLif <davidshani12@gmail.com>
Signed-off-by: davidLif <davidshani12@gmail.com>
Signed-off-by: davidLif <davidshani12@gmail.com>
Signed-off-by: davidLif <davidshani12@gmail.com>
Signed-off-by: davidLif <davidshani12@gmail.com>
Signed-off-by: davidLif <davidshani12@gmail.com>
1b4c488 to
b8d31f3
Compare
|
|
||
| ## 3. Reclaim Rules | ||
|
|
||
| A candidate victim task is reclaimable via the new path when, for the (leveled) reclaimer queue and victim queue pair: |
There was a problem hiding this comment.
I meant as per the normalization of priority level of non-siblings queues. Will remove.
|
|
||
| ``` | ||
|
|
||
| ## 4. No Reclaim Loops |
There was a problem hiding this comment.
I m not sure why adding "why no cascading reclaims" will help this design doc.
In short, the explanation is:
Everything is in quota so the other stratgies are not interesting, and if B can reclaim from reclaimer A under the new strategy, B could have used the same victims as A under the new strategy and A wouldn't have reached the specific reclaim simulation
|
|
||
| No code change. Consolidation (`pkg/scheduler/actions/consolidation/`) doesn't call into the `proportion` reclaim strategies at all — its victim filter only checks `IsPreemptibleJob()` and active-task count, because its scenario validator (`allPodsReallocated`) requires every evicted victim to be reallocated somewhere; it repacks, it doesn't permanently transfer resources across queues. The quota-protection concern this feature relaxes doesn't apply to consolidation the same way, so today's behavior already covers "applicable to consolidation" without change. | ||
|
|
||
| ## 7. Edge Cases & Risks |
There was a problem hiding this comment.
Feels like a change in such a sensitive area might have more risks
There was a problem hiding this comment.
This is actually not that big of a change - the only thing we drop is the quota guarantee, and this is mentioned several times in the docs.
Signed-off-by: davidLif <davidshani12@gmail.com>
Description
[](docs: add design for priority-based in-quota reclaim)
Related Issues
Fixes #2065
Checklist
make changelog(or applied theskip-changeloglabel). Do not editCHANGELOG.mddirectly — pending fragments are folded into it at release time.Breaking Changes
Additional Notes