Skip to content

Conversation

@gabesaba
Copy link
Contributor

@gabesaba gabesaba commented Aug 8, 2024

What type of PR is this?

/kind cleanup

Preparation for #2720

What this PR does / why we need it:

  • Rename resPerFlv andwlReq
  • Delete type alias for resourcesPerFlavor
  • Update fairPreemptions to take workload.Info by value, for consistency with GetTargets
  • Change a few function signatures to simplify data flow
  • Simplify a few logical expressions

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Aug 8, 2024
@k8s-ci-robot k8s-ci-robot requested review from denkensk and mimowo August 8, 2024 13:55
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 8, 2024
@netlify
Copy link

netlify bot commented Aug 8, 2024

Deploy Preview for kubernetes-sigs-kueue ready!

Name Link
🔨 Latest commit 48f281b
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/66b4ce5b2258010008c5536c
😎 Deploy Preview https://deploy-preview-2800--kubernetes-sigs-kueue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@mimowo mimowo left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
Thanks for the preparatory PR, I believe it will help to reduce diff and gain confidence in the actual changes for #2720

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 9, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: a620a94574e0d5636f6562faab623427df838779

@k8s-ci-robot
Copy link
Contributor

[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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 9, 2024
@k8s-ci-robot k8s-ci-robot merged commit 7c9ad4c into kubernetes-sigs:main Aug 9, 2024
@k8s-ci-robot k8s-ci-robot added this to the v0.9 milestone Aug 9, 2024
@gabesaba gabesaba deleted the cleanup_preemption branch August 9, 2024 09:18
gabesaba added a commit to gabesaba/kueue that referenced this pull request Aug 13, 2024
k8s-ci-robot pushed a commit that referenced this pull request Aug 13, 2024
* 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]>
kannon92 pushed a commit to openshift-kannon92/kubernetes-sigs-kueue that referenced this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants