kube-fzf
kube-fzf copied to clipboard
allow to specify the output format
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"]'