-
Notifications
You must be signed in to change notification settings - Fork 300
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
TAS: reduce friction by defaulting the PodSet annotations #3754
Comments
Maybe |
This sounds like making TAS a default scheduling policy. What about adding validations? I mean, if Jobs have TAS annotations in |
One lightweight idea is to make TAS default when all RFs in a given CQ have The benefit of this approach is that it allows users to migrate CQ-by-CQ to TAS, and does not require setting the annotations by the user.
Not really, we would still require a deliberate admin action to configure the ResourceFlavors to have topologyName. Otherwise, default Kueue is used.
That is true, but I would prefer to think about this as a separate improvement to TAS. For example, we may introduce another PodSet annotation. We have "required", and "preferred", maybe we also need "spread" or "relax", etc. |
/assign |
Basically, sgtm. |
Preferred - this is our go to annotation recommended to users, for most workloads. "required" could make some workloads unschedulable. Still, if some workload is ultra sensitive on networking the user can set the "required" annotation and it will have precedence over the default (preferred). |
That sounds reasonable. |
What would you like to be added:
Allow scheduling workloads without TAS annotations (
kueue.x-k8s.io/podset-required-topology
orkueue.x-k8s.io/podset-preferred-topology
) on every PodSet.The idea is to default the annotations, but we need to decide where is the configuration.
Why is this needed:
Currently, users of TAS need to set annotations on every PodTemplate. While this gives control, it also creates friction and room for error, because users may forget to set the annotation. Also, most users want to use the "preferred" mode, and they don't need to control the topology level.
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: