jq: array contains array containing key with value?
In one of our Kubernetes clusters, there are a number of pods failing with “ImagePullBackOff”. I want to find the nodes on which these pods are running.
In one of our Kubernetes clusters, there are a number of pods failing with “ImagePullBackOff”. I want to find the nodes on which these pods are running.
I found myself having to process a large JSON file using jq --slurp, and it was using up a lot of memory, so I thought it was time to learn about jq’s reduce function.