Skip to content
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

Fix: Enforce borrowed=0 if ClusterQueue doesn't belong to a cohort #759

Merged

Conversation

tenzen-y
Copy link
Member

What type of PR is this?

/kind bug

What this PR does / why we need it:

Enforce .status.flavorUsage[*].resources[*].borrowed=0 if ClusterQueue doesn't belong to a cohort.

Which issue(s) this PR fixes:

Fixes #746

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Fix: Enforce borrowed=0 if ClusterQueue doesn't belong to a cohort.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. labels May 10, 2023
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 10, 2023
@netlify
Copy link

netlify bot commented May 10, 2023

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit ff37a80
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/645be109cb82840008772be3

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 10, 2023
@tenzen-y
Copy link
Member Author

/assign @alculquicondor

Copy link
Contributor

@alculquicondor alculquicondor 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

Can you cherry-pick?

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alculquicondor, tenzen-y

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 May 10, 2023
@tenzen-y
Copy link
Member Author

/lgtm /approve

Can you cherry-pick?

Sure!

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 10, 2023
@tenzen-y
Copy link
Member Author

@alculquicondor I fixed an integration test. Can I get another chance?

Copy link
Contributor

@alculquicondor alculquicondor left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 10, 2023
@k8s-ci-robot k8s-ci-robot merged commit 804a280 into kubernetes-sigs:main May 10, 2023
@tenzen-y tenzen-y deleted the fix-incorrect-flavorUsage branch May 11, 2023 07:31
k8s-ci-robot added a commit that referenced this pull request May 11, 2023
…pstream-release-0.3-1683788342

Automated cherry pick of #759: Fix: Enforce borrowed=0 if ClusterQueue doesn't belong to a cohort
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/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Count insufficient resources as borrowed resources in ClusterQueue that has no cohort
3 participants