-
Notifications
You must be signed in to change notification settings - Fork 238
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
[kjobctl] Add describe job #2438
[kjobctl] Add describe job #2438
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
120d264
to
731801c
Compare
b162fb9
to
3a9874e
Compare
3a9874e
to
18b6c0e
Compare
/test all |
18b6c0e
to
9cb8704
Compare
9cb8704
to
fa3f517
Compare
/test all |
fa3f517
to
403ff3d
Compare
/retest |
403ff3d
to
092fdcf
Compare
/retest |
092fdcf
to
2499205
Compare
33940e6
to
acdeed6
Compare
printAnnotationsMultiline(w, "Annotations", job.Annotations) | ||
if controlledBy := printController(job); len(controlledBy) > 0 { | ||
w.Write(IndentLevelZero, "Controlled By:\t%s\n", controlledBy) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it make sense to only print the values coming for the profile's RequiredFlags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure that we should print only RequiredFlags as we're going to have 5 properties max. Maybe we can make sure that those in the required flags are printed too but it might be useful to show the other properties as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
List of properties printed has been updated.
CC: @mwielgus
349ffb9
to
4047af2
Compare
cc @pajakd |
/assign |
Can we have a sample output of describe job? |
Here it is
|
9e0ca16
to
41be556
Compare
41be556
to
0e5c21b
Compare
/lgtm We can do additional changes in a follow-up if needed. |
LGTM label has been added. Git tree hash: 3c1afb422be4609436ac08b7a5f59430d1f7e36e
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: IrvingMg, 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Add
describe
job command to kjobctl.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?