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

[kueuectl] Added kueuectl list pods command #2280

Merged
merged 41 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f7892bc
Added kueuectl list pods cmd
Kavinraja-G May 25, 2024
12ddecd
indent and fix PR comments
Kavinraja-G May 27, 2024
959cf59
fix: goimports
Kavinraja-G May 27, 2024
8d592ff
chore: remove ctx args in tt
Kavinraja-G May 27, 2024
35d9712
refactor get pods logic for multiple types
Kavinraja-G May 28, 2024
de3f951
test: Add more job type tests
Kavinraja-G May 28, 2024
9993df7
refactor: based on comments for listpods & helpers
Kavinraja-G May 28, 2024
7c34580
remove fmt
Kavinraja-G May 28, 2024
d0bb7c3
refactor unit tests
Kavinraja-G May 28, 2024
566fb00
refactor based on commments (1)
Kavinraja-G May 28, 2024
0651a1b
refactor based on commments (2)
Kavinraja-G May 28, 2024
13c2adf
refactor: handle if no resources found
Kavinraja-G May 29, 2024
0296a9e
Added seperate printer for list pods
Kavinraja-G May 29, 2024
2e874ae
rename list_pods_printer
Kavinraja-G May 29, 2024
e92ebbf
Refactor printers logic and comments
Kavinraja-G May 30, 2024
695639c
fix lint
Kavinraja-G May 30, 2024
5973d62
Refactor ForObject parsing and comments
Kavinraja-G Jun 5, 2024
54a1246
Refactor ListPods logic to use common podLabelSelector
Kavinraja-G Jun 23, 2024
eea9929
Refactor jobLabels as per comment
Kavinraja-G Jul 4, 2024
2d11367
breakdown Complete() by adding functions
Kavinraja-G Jul 4, 2024
0272257
merge listPods() to Run()
Kavinraja-G Jul 5, 2024
f1ecd3d
go mod vendor
Kavinraja-G Jul 5, 2024
336bf21
more refactor for podLabelSelection
Kavinraja-G Jul 5, 2024
206b0e0
support more columns for list pod
Kavinraja-G Jul 7, 2024
47f2e14
more refactor based on PR comments (1)
Kavinraja-G Jul 10, 2024
5f3a49d
Refactor get pods logic to user API directly
Kavinraja-G Jul 14, 2024
26b1bcf
More refactor based on comments (1)
Kavinraja-G Jul 17, 2024
79c9baf
Run generate-docs
Kavinraja-G Jul 22, 2024
bb65c8e
support multiple outputs
Kavinraja-G Jul 22, 2024
50b9b1a
refactor: support multiple outputs
Kavinraja-G Jul 22, 2024
fadd77d
refactor & rm unused params in test
Kavinraja-G Jul 26, 2024
19612dd
go mod tidy
Kavinraja-G Jul 28, 2024
ae2eacf
handle podLablesSelectors and refactor
Kavinraja-G Aug 9, 2024
6699564
bugfix: label selectors for raycluster and MPI
Kavinraja-G Aug 9, 2024
42da29f
bugfix: add operator name labels for pod selectors
Kavinraja-G Aug 18, 2024
2f47744
remove podgroup support
Kavinraja-G Aug 20, 2024
dc3d145
Merge branch 'kubernetes-sigs:main' into feat/kueuectl-list-pods
Kavinraja-G Aug 20, 2024
1020704
use kubectl get package for table_printers
Kavinraja-G Aug 21, 2024
1b481c7
remove podLabelSelector from GenericJob interface
Kavinraja-G Aug 21, 2024
8175793
(revert) remove podgroup support
Kavinraja-G Aug 21, 2024
520e5c3
go mod tidy (remove goVersion)
Kavinraja-G Aug 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cmd/kueuectl/app/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

const (
listExample = ` # List LocalQueue
listExample = ` # List LocalQueue
kueuectl list localqueue`
)

Expand All @@ -41,6 +41,7 @@ func NewListCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStrea
cmd.AddCommand(NewClusterQueueCmd(clientGetter, streams, clock))
cmd.AddCommand(NewWorkloadCmd(clientGetter, streams, clock))
cmd.AddCommand(NewResourceFlavorCmd(clientGetter, streams, clock))
cmd.AddCommand(NewPodCmd(clientGetter, streams))

return cmd
}
Loading