-
Notifications
You must be signed in to change notification settings - Fork 501
Finish flattening of FlavorResourceQuantities #2721
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
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
| type FlavorResourceQuantities map[kueue.ResourceFlavorReference]Requests | ||
| type FlavorResourceQuantitiesFlat map[FlavorResource]int64 | ||
|
|
||
| func (f FlavorResourceQuantitiesFlat) Unflatten() FlavorResourceQuantities { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I'm happy this trickery is out :)
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: 661f94ef3a8644e24c36c2082dcce60660219a10 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gabesaba, mimowo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Finish Flattenning FlavorResourceQuantities * Rename FlavorResourceQuantitiesFlat to FlavorResourceQuantities
* Cleanup to use FlavorResourceQuantities.Add in cache (#2696) * fix: Refactor FitInCohort tests (#2655) * fix: Refactor FitInCohorot tests * fix: delete no-op function * fix: use new method to add usage * fix: to enforce resource group constraint for flavors and resources * fix: consolidated into a single resource group * fix: delete flavorNames * fix: adjusted test cases to align with existing expected conditions * fix: change FlavorResourceQuantitiesFlat value * Finish flattening of FlavorResourceQuantities (#2721) * Finish Flattenning FlavorResourceQuantities * Rename FlavorResourceQuantitiesFlat to FlavorResourceQuantities * Cleanup preemption.go (#2800) * [Partial Admission] Check Mode before attempting Preemption (#2809) * Prefer Reclamation to Priority Based Preemption (#2811) --------- Co-authored-by: s-shiraki <[email protected]>
* Finish Flattenning FlavorResourceQuantities * Rename FlavorResourceQuantitiesFlat to FlavorResourceQuantities
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Finishes cleanup. See #2447 for motivation.
Which issue(s) this PR fixes:
Fixes #2447
Special notes for your reviewer:
Reviewing will be easier by reviewing the two commits in order
Does this PR introduce a user-facing change?