Remove commit mechanism for pipeline in allocate action #540
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
/kind feature
Description:
The
allocate
action uses thecommit mechanism
. Only when the job meets the requirements ofgang
, the operations performed in theallocate
action will be executed. Otherwise, all actions will be rolled back.The
commit mechanism
inallocate
action forpipeline
action should be canceled:When judging whether the job meets the requirements of
gang
, it does not calculate the task withpipelined
state. That is to say, in thecommit mechanism
, th pipeline action is not considered.When the
preempt
action or thereclaim
action is enabled, in the previous scheduling period, the pod namedpoda
withpending
state successfully evicts a running pod namedpodb
, andpoda
was pipelined to the node where thepodb
is running. In the next cycle, when theallocate
action is performed. Because the job wherepoda
is located does not meet the requirements of gang, and cannot perform the pipelined action, in this scheduling period,poda
is still in thepending
state, and will evict other pods.The text was updated successfully, but these errors were encountered: