You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be nice, when it were possible to specify an output format. kubectl allows to output in json format. That way it is possible to pipe the output to other tools and only extract the exact field that is wanted, for example:
kubectl get pod my-pod -o jsonpath='{.data}' | jq -r '.["myfield"]'
Something like this would be nice:
describepod -o json | jq -r '.["myfield"]'
The text was updated successfully, but these errors were encountered:
it would be nice, when it were possible to specify an output format. kubectl allows to output in json format. That way it is possible to pipe the output to other tools and only extract the exact field that is wanted, for example:
kubectl get pod my-pod -o jsonpath='{.data}' | jq -r '.["myfield"]'
Something like this would be nice:
describepod -o json | jq -r '.["myfield"]'
The text was updated successfully, but these errors were encountered: