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

Integrate Kueue Information into Workload Listing (Optional) #77

Open
leonpawelzik opened this issue Sep 3, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@leonpawelzik
Copy link
Collaborator

Integrate Kueue Information into Workload Listing

Objective

Enhance the workload listing feature to include information about queued jobs from Kueue.

User Stories

As a user, I want to:

  • See information about both running and queued jobs in the workload list

Requirements

  1. Extend the /jobs/list backend API to query Kueue custom resources
  2. Include queued job information in the API response
  3. Update the jobby list CLI command to display queued job information
  4. Add filtering options to include/exclude queued jobs in both the API and CLI

Example Usage

API: GET /jobs/list?include_queued=true
CLI: jobby list --include-queued

Note

This enhancement should be implemented in a way that maintains backwards compatibility with the basic workload listing functionality. Consider adding a new parameter to the /jobs/list endpoint and a new flag to the CLI command to optionally include queued jobs.

@leonpawelzik leonpawelzik added the enhancement New feature or request label Sep 3, 2024
@leonpawelzik leonpawelzik added this to the Workload Listing Feature milestone Sep 3, 2024
@maxmynter maxmynter assigned maxmynter and unassigned maxmynter Sep 9, 2024
@maxmynter
Copy link
Collaborator

This is addressed by #82 with client side filtering.

If we want server side filtering, then we should describe them in a new story and decide if we want to also encompass not only filtering by queued/non-queued but also the other possible states (pending, executing, succeeded, failed, inadmissible) , namespaces, date ranges, and priorities.

cc: @leonpawelzik

@AdrianoKF
Copy link
Collaborator

@leonpawelzik Did we agree to reword (towards queue introspection) or close this story yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants