Certified Kubernetes Administrator kubectl notes jsonpath filtering/searching/etc syntax is similar to jq selectors jsonpath root is represented by a $ but it not required. when the output of a kubectl command is a list of items .items[*] must be used first. Examples best practice to surround with '{}' ✅ '{.status.podIP}' ❌ .status.podIP reference to the root object ($) does not need to be provided ✅ '{$.status.podIP}' ✅ '{.status.podIP}' sorting the results of a command --sort-by='{.status.podIP}' when using jsonpath as the output parameter on a command that returns a list -o jsonpath='{.items[*].status.podIP}