Naresh Dulam:
but somewhere i have see it’s like kubectl get pods -o=custom-columns=POD_NAME:.metadata.name,POD_STATUS:.status.containerStatuses[].state
Mark:
-o=custom-columns=<spec> Print a table using a comma separated list of custom columns
You should be using 2nd one