-
Notifications
You must be signed in to change notification settings - Fork 262
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] Added kueuectl list pods command #2280
[kueuectl] Added kueuectl list pods command #2280
Conversation
Welcome @Kavinraja-G! |
Hi @Kavinraja-G. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
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.
Don't forget to add docs here.
/assign |
/ok-to-test |
b83d793
to
eb80584
Compare
/test pull-kueue-test-e2e-main-1-27 |
dcd5bc8
to
42da29f
Compare
/lgtm |
LGTM label has been added. Git tree hash: b3a768b5699a410e47131749a5389a27a8be3a97
|
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, Kavinraja-G 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 |
* Added kueuectl list pods cmd * indent and fix PR comments * fix: goimports * chore: remove ctx args in tt * refactor get pods logic for multiple types * test: Add more job type tests * refactor: based on comments for listpods & helpers * remove fmt * refactor unit tests * refactor based on commments (1) * refactor based on commments (2) * refactor: handle if no resources found * Added seperate printer for list pods * rename list_pods_printer * Refactor printers logic and comments * fix lint * Refactor ForObject parsing and comments * Refactor ListPods logic to use common podLabelSelector * Refactor jobLabels as per comment * breakdown Complete() by adding functions * merge listPods() to Run() * go mod vendor * more refactor for podLabelSelection * support more columns for list pod * more refactor based on PR comments (1) * Refactor get pods logic to user API directly * More refactor based on comments (1) * Run generate-docs * support multiple outputs * refactor: support multiple outputs * refactor & rm unused params in test * go mod tidy * handle podLablesSelectors and refactor * bugfix: label selectors for raycluster and MPI * bugfix: add operator name labels for pod selectors * remove podgroup support * use kubectl get package for table_printers * remove podLabelSelector from GenericJob interface * (revert) remove podgroup support * go mod tidy (remove goVersion)
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds
kueuectl list pods --for job/job-name
. This will help users to list all the pods controlled by a specificJob
in a namespace.Which issue(s) this PR fixes:
Fixes #2204
Special notes for your reviewer:
Nil
Does this PR introduce a user-facing change?