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

Report Reserving queue metrics and stats. #1206

Merged
merged 7 commits into from
Oct 20, 2023

Conversation

trasc
Copy link
Contributor

@trasc trasc commented Oct 13, 2023

What type of PR is this?

/kind feature

What this PR does / why we need it:

Change the way localQueues and clusterQueues stats and mertics are reported to account for the difference between Reserving and Admitted workloads.

Which issue(s) this PR fixes:

Fixes #1195

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Metrics for usage and reservations in ClusterQueues and LocalQueues.

@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/feature Categorizes issue or PR as related to a new feature. labels Oct 13, 2023
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 13, 2023
@netlify
Copy link

netlify bot commented Oct 13, 2023

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit c0e78d0
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/6532b3bf10a77000083d1754

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 13, 2023
Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

I reviewed only APIs.

@trasc trasc force-pushed the cq-reserved-in-status branch from f069acb to 460d966 Compare October 19, 2023 09:50
@trasc trasc force-pushed the cq-reserved-in-status branch from 460d966 to 4a0b8b3 Compare October 19, 2023 09:57
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.

a few typos

@alculquicondor
Copy link
Contributor

/lgtm
/approve

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alculquicondor, trasc

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 Oct 20, 2023
@tenzen-y
Copy link
Member

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 20, 2023
@tenzen-y
Copy link
Member

/lgtm cancel

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 20, 2023
@tenzen-y
Copy link
Member

otherwise lgtm

Copy link
Member

@tenzen-y tenzen-y 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 Oct 20, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 9d29bc2b4356f1a2c0b170037a95056719cffdd2

@trasc
Copy link
Contributor Author

trasc commented Oct 20, 2023

/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 20, 2023
@k8s-ci-robot k8s-ci-robot merged commit cacde8b into kubernetes-sigs:main Oct 20, 2023
@k8s-ci-robot k8s-ci-robot added this to the v0.5 milestone Oct 20, 2023
@trasc trasc deleted the cq-reserved-in-status branch October 24, 2023 06:35
PBundyra pushed a commit to PBundyra/kueue that referenced this pull request Oct 26, 2023
* [api/cq] Add flavor reservation values.

* [clusterqueue] Maintain different stats and metrics for Reserving and Admitted WL

* [api/lq] Add flavor reservation values.

* [localqueue] Maintain different stats for Reserving and Admitted WL

* Review Remarks

* Review Remarks

* Review remarks
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/feature Categorizes issue or PR as related to a new feature. 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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[clusterQueue] Keep different counters of reserved and in use resources in the queues status.
4 participants