Open PBundyra opened 3 weeks ago
/kind feature
I agree it would be cleaner, but for that we need to figure out how solve the dependency issue on the Job, as currently workload controller is Job-agnostic: https://github.com/kubernetes-sigs/kueue/blob/e5dd891432f61c4a418e69405c840110553c07b0/pkg/controller/jobframework/reconciler.go#L458
As far as I know, during introducing this mechanism, we evaluated this proposed solution. But, we declined that based on the Michal mentioned reason. I guess that we need to introduce another mechanism or a lot of refactoring...
What would you like to be cleaned: Currently the
Requeued
, andQuotaReserved
conditions are set by the jobframework reconcilerIdeally this logic should be moved to the Workload Controller to simplify logic, ease maintenance and adding new features, and avoid unpredictable race conditions. The logic should be atomic with eviction
Why is this needed: