@KK @Rahul Soni in this practice lab question,
Use JSON PATH query to retrieve the
osImages of all the nodes and store it in a file
is there an easy way to find the details given in the hint provided in the second line in the practice test (i.e., The
osImages are under the
nodeInfo section under
status of each node.)?
I felt it bit time consuming thing to find the exact path/indentation of the object asked with a temp file.(I created a temporary output file in json format with “k get nodes -o json > /tmp/tmp.txt”). Once the path is identified the jsonpath query formation is fine.