-
Notifications
You must be signed in to change notification settings - Fork 277
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 |
It seems local queue defaulting and manageJobsWithoutQueueNames deprecation solve should solve your issue, right? The admins will create default local queue and it will be used for jobs without queue name. |
No. I'm revising the KEP to clarify the point. Whether it is manageJobsWithoutQueueNames or the local queue defaulting, there still needs to be a way to scope either mechanism to a subset of the namespaces. Without the namespace scoping for at least |
As mentioned in #3712 (comment) I would like to yet:
|
Documented the new feature in #3748. I'll do the migration of the documentation for |
Thanks, I think we still need to follow up with the implementation, to make the transition from
With the changes above user can completely skip setting |
Agreed on the webhooks... I didn't quite get it done yesterday. Hoping to get there today. |
I believe #3828 is the last thing to be done. Once that merges we should be able to close this issue as completed. |
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: