-
Notifications
You must be signed in to change notification settings - Fork 828
Description
What you would like to be added?
I would like to extend the PodSetOverrides for the optional "manager" field.
This is needed for the integration with Kueue done properly.
When Kueue starts a Job it is using the PodSetOverrides to set NodeLabels, Tolerations, based on the selected ResourceFlavor. Then, on suspending the Job Kueue needs to "revert" (remove) the overrides.
However, it is not clear from Kueue perspecive which overrides it did, and which were done by a user, or another controller. So, to overcome this we temporarily have a workaround by injecting the "kueue.x-k8s.io/override-idx" annotation which indicates the modified "override" by Kueue.
Why is this needed?
To make the interface between the Kueue and TrainJob easier to understand.
Probably other controllers or users who modify the "PodSetOverrides" could also benefit by annotating "who" owns the override.
Love this feature?
Give it a 👍 We prioritize the features with most 👍