Skip to content

Validate upper-bound of slice size #5777

Open
@lchrzaszcz

Description

@lchrzaszcz

What would you like to be cleaned:
Slice-level topology in Kueue TAS has been added recently:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions