Json – In jq, get index of current item (similar to Python's enumerate())?
I'm going through a Kubernetes tutorial and am using jq to filter some of kubectl's exhaustive output. One task that's coming up is to show what images are deployed to what pods, using kubectl get pods. So far I have…