![]() But kubectl get command doesn't support this. This patch fix this, now users could get object info like: a. kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0:3].name b. kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[-2:].name |
||
---|---|---|
.. | ||
BUILD | ||
customcolumn_flags_test.go | ||
customcolumn_flags.go | ||
customcolumn_test.go | ||
customcolumn.go | ||
get_flags.go | ||
get_test.go | ||
get.go | ||
humanreadable_flags_test.go | ||
humanreadable_flags.go | ||
sorter_test.go | ||
sorter.go |