Edith Puclla:
Hello, for which this command is necessary?
kubectl get pods -o=jsonpath="{.items[*]['metadata.name', 'metadata.namespace']}"
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
Edith Puclla:
Thank youu!!!