The go-template is an output tool that allows you to specify exact output to collect information based on the json structure of the data you are looking at.
You can see some additional information in the Kubernetes documentation and via the Tips.
Use json to see the structure
The easiest way to identify the exact format, use the json output option
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.