-
Notifications
You must be signed in to change notification settings - Fork 209
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
kueuectl command to get job + workload #2168
Comments
cc @mwielgus |
@alculquicondor could extending the filter/lookup capabilities of kueue/keps/2076-kueuectl/README.md Lines 202 to 227 in 90689f6
|
It could help, something like:
But it could also help to have a dedicated command that shows you both the job and the workload. |
Let's start with just /assign @trasc |
/assign @IrvingMg In my opinion the format for
The filtering is done on the client side so having the filter relaxed when it comes to owner type should not have any performance penalties. |
To avoid confusion if there happen to be 2 jobs with the same name, I hope we can include the full api name for the owning job in the list table. The fact that multiple jobs matched will be less obvious if using |
What would you like to be added:
A single command that would output the status (and potentially events) of both workload and job objects.
Maybe it should look something like:
Ideally, this should work not just for CRDs supported by Kueue, but also external extensions. This should be possible using the discovery API and searching for a corresponding Workload object for it that has the matching UID label.
Why is this needed:
A common question users ask is "why is my job not running".
While most of this can be answered by looking at the Workload object, we don't want to force users to understand what the difference is between job and workload.
Furthermore, Kueue might have admitted the job and the job could be pending due to scale ups or failing scheduling (kube-scheduler) attempts.
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: