Open lowang-bh opened 1 month ago
You mean the gang can't be met? I think the gang plugin should returen no victims if it's not met.
We need to use statement.Evict
instead of ssn.Evict
. ssn package doesn't support transaction。
I think the gang plugin should returen no victims if it's not met.
That's victim job will return nil if its gang cannot be met. The reclaimor job's gang is not met and should revert.
Description
Reclaim action use the
ssn.Evict
, which directly evict pod and can not be caceled when eviction is not helpful.Steps to reproduce the issue
cluster with cpu = 3 and scheduler configmap is
Describe the results you received and expected
Reclaim action should use the
Statement.Evict
and can be caceled withStatement.Discard
What version of Volcano are you using?
master
Any other relevant information
No response