Hello, for which this command is necessary? ``` kubectl get pods -o=jsonpath="{ . . .

Edith Puclla:
Hello, for which this command is necessary?

kubectl get pods -o=jsonpath="{.items[*]['metadata.name', 'metadata.namespace']}"

Mohamed Ayman:
It is used to filter on specific fields on the JSON object and format the output
There is some functions that you can use as”*” which is considered as wild card to get all objects
Please check this for more info

https://kubernetes.io/docs/reference/kubectl/jsonpath/|https://kubernetes.io/docs/reference/kubectl/jsonpath/

Edith Puclla:
Thank youu!!! :blush: