You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Hedger Lai (Jira)" <ji...@apache.org> on 2026/10/07 17:00:01 UTC
[jira] [Updated] (YUNIKORN-3465) [scheduler-interface] Add victimAllocationKeys in PreemptionPredicatesResponse for minimal preemption
[ https://issues.apache.org/jira/browse/YUNIKORN-3465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hedger Lai updated YUNIKORN-3465:
---------------------------------
Parent: YUNIKORN-3186
Issue Type: Sub-task (was: Improvement)
> [scheduler-interface] Add victimAllocationKeys in PreemptionPredicatesResponse for minimal preemption
> -----------------------------------------------------------------------------------------------------
>
> Key: YUNIKORN-3465
> URL: https://issues.apache.org/jira/browse/YUNIKORN-3465
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Reporter: Hedger Lai
> Assignee: Hedger Lai
> Priority: Major
> Labels: pull-request-available
>
> Currently, {{PreemptionPredicatesResponse}} only returns a scalar {{index}}. In {{yunikorn-core}}, this forces Core to unconditionally evict all candidate allocations sequentially from index {{0}} through {{index}}, leading to over-preemption of innocent pods that do not violate predicates.
> Under YUNIKORN-3460, we are introducing reprieve verification in k8shim to achieve minimal victim preemption. To convey the pruned victims back to Core, we propose adding an optional {{victimAllocationKeys}} field:
> {code:protobuf}
> message PreemptionPredicatesResponse {
> bool success = 1;
> int32 index = 2;
> map<string, int32> errorMessage = 3;
> repeated string victimAllocationKeys = 4;
> }
> {code}
> *Compatibility*: If {{victimAllocationKeys}} is empty, Core falls back to legacy index-based eviction ({{0..index}}). When populated, Core only evicts the specified allocations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org