aai-institute / aai-institute/jobq

Integrate Kueue Information into Workload Listing (Optional)

Ouverte
#77 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
4
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

# 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.