-
Notifications
You must be signed in to change notification settings - Fork 228
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
Add number of AdmittedWorkloads to LocalQueue status #259
Comments
The kueue/pkg/scheduler/scheduler.go Lines 304 to 308 in afabae9
|
not assumed, but actually part of the cache. But please don't work on this yet. I'm working on a change to add the metric with the same data. We can reuse that code to include it in the status. |
I did some progress on this #259. After it merges, feel free to take over. |
This would be similar to the AdmittedWorkloads in ClusterQueue |
/assign @kannon92 |
@ahg-g: GitHub didn't allow me to assign the following users: kannon92. Note that only kubernetes-sigs members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @kannon92 |
I am getting up to speed in this repo. AdmittedWorkloads is the same as ActiveWorkloads? |
yes, we are using the term admitted now. |
Hello. So I made progress on this but I realize I'm unclear on the ask. The issue reads very simple as add a new field. So here is my research: If I read the ticket exactly, then I believe my work is done? Is the intent that future features will update this API field? Or should I also tackle this as part of the issue? |
Not only add the field, we need to do populate it as well. Kueue is the one responsible for updating the status of both LocalQueue and ClusterQueue. Take a look at the AdmittedWorkloads field in ClusterQueue and how we populate it as an example. |
Sounds good! I am making progress on this. Do we want these fields as added into metrics also? |
No, we actually did that initially and reverted the change #293. Just the status field should be good. |
Alright. I think I have something for you all to review. #382 Sorry about the spamming the repo with a few opens. |
What would you like to be added:
A field containing the number of active workloads.
We abandoned this idea earlier because the cache was not queue aware. But we already need to make it queue aware for the purpose of metrics #199
Why is this needed:
Improve UX around observability
/kind ux
Completion requirements:
This enhancement requires the following artifacts:
The artifacts should be linked in subsequent comments.
The text was updated successfully, but these errors were encountered: