Allen Ho:
Still trying to understand jsonPath when do you need to use range when
just doing item[*] could be enough?
VIP:
I just used this k -n mgmt get pod,svc -o jsonpath="{range.items[*]}{.metadata.name}{'\n'}"
to list all pod and services in mgmt namespace.
unnivkn:
@Allen Ho exam perspective don’t spend much time on json path. what ever you need is there in the cheat sheet. Try to go through it once.
Allen Ho:
Ok thanks. I still like to know the differences.
Will keep practising