Skip to content

Conversation

@IsaiahStapleton
Copy link
Contributor

@IsaiahStapleton IsaiahStapleton commented Jul 2, 2025

Adds three commits that do the following:

  • Simplify constraint parameters:
    Rather than having to specify the exact numerical cpu and mem requests
    and limits, you can now just specify string size mapping to those
    numbers "X Small", "Small" etc.

  • ope constraint: support multiple allowed images
    Rather than being restricted to selecting only 1 image, can now specify
    multiple allowed images in a class validation constraint.

  • Ability to specify resource size PER image: We can now specify which
    resource sizes are allowed for a specific image. Whereas before you
    could only specify one resource size for all images.

  • Ability to specify # of GPUs an image is allowed: We are now able to
    specify how many GPUs a specific image is allowed to claim.

Rather than having to specify the exact numerical cpu and mem requests
and limits, you can now just specify string size mapping to those
numbers "X Small", "Small" etc.

Signed-off-by: Isaiah Stapleton <istaplet@redhat.com>
Rather than being restricted to selecting only 1 image, can now specify
multiple allowed images in a class validation constraint.

Signed-off-by: Isaiah Stapleton <istaplet@redhat.com>
This commit adds the following features to the ope validation
constrainttemplate:

- Ability to specify resource size PER image: We can now specify which
  resource sizes are allowed for a specific image. Whereas before you
could only specify one resource size for all images.

- Ability to specify # of GPUs an image is allowed: We are now able to
  specify how many GPUs a specific image is allowed to claim.

Signed-off-by: Isaiah Stapleton <istaplet@redhat.com>
Copy link

@DanNiESh DanNiESh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good!

@IsaiahStapleton IsaiahStapleton merged commit 89a3953 into OCP-on-NERC:main Jul 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants