Open
Description
What would you like to be cleaned:
Slice-level topology in Kueue TAS has been added recently:
- Add PodSet Slice API #5596 - new API
- Two level TAS scheduling / PodSet chunk topology #5353 - TAS algorithm change
- Validate slice annotations #5582 - validation of the annotations
In the last PR we validate that slice size is greater than 0, however we should also validate that it is lower than the number of pods in PodSet.
Why is this needed:
Values greater than the number of pods in a PodSet make no sense. In edge cases, setting that number to a high value might result in calculating number of slices as 0.