How to use jsonpath to retrieve details for k8s cluster
The jsonpath is used to filter specific fields from json tree in k8s cluster. pod json first of all we need to understand and familiar with json tree structure for pod. kubectl get pods -o json from output we will see top level objects: – apiVersion – items – metadata …