0 votes
in Kubernetes K8s by
jsonpath example of getting "everything" (about nodes)  This is not really an interview question But, its goog to know this in case JSON PATH topic comes up

1 Answer

0 votes
by

kubetcl get nodes -o jsonpath='{items[*]}'   # everything, so tons of data

        * Thing to remember is syntax starts out like awk (single quote and swiggly bracket and then follows dots for JSON levels and [] for lists

...