-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter manageJobsWithoutQueueNames using a namespaceSelector for all integrations #3589
Comments
/assign I will work on drafting a KEP. |
IIRC, we did not introduce this mechanism in the previous discussions: #2119 Instead of introducing this knob, shouldn't we decouple the Stateful and Deployment integration from Pod integration? |
This was discussed before (#2119), but what changed since then is the addition of the Deployment and StatefulSet integrations. Deployment and StatefulSet have the same fundamental issue with So, the proposal is to put together a KEP to see what it would take to have a uniform API to modulate manageJobsWithoutQueueNames. An alternative that we can discuss in the KEP is to instead deprecate and then remove |
Regarding the Deployments and StatefulSet via pod-based integration. The fundamental difference between Deployments, StatefulSet and JobCRDs is that there is no suspend field ( and it is unlikely to be ever added, or it will take a year at very least to get into beta). So, using scheduling Gates for suspending seems like a good fit, and this is already provided by the pod-based integration, so we are reusing it. I'm open to alternatives, but I think they need to be presented more holistically, and in detail, because they seem vague at the moment to me at least. |
Initial draft of the KEP in #3595 |
What would you like to be added:
Add a
manageJobsWithoutQueueNameNamespaceSelector
to the Kueue configuration API and use it to restrict the jobs to whichmanageJobsWithoutQueueName
is applied across all integrations.We can then deprecate
podOptions.namepaceSelector
and eventually remove it from the configuration API.Why is this needed:
As discussed in the review of #3520, because the Deployment and StatefulSet integrations are built on top of the Pod integration, they implicitly restrict the scope of
manageJobsWithoutQueueName
by filtering it withpodOptions.namepaceSelector
. This results in an irregular API that may be confusing to users.Completion requirements:
This enhancement requires the following artifacts:
The artifacts should be linked in subsequent comments.
The text was updated successfully, but these errors were encountered: