Skip to content

jq

When dealing with Kubernetes, you will inevitably have to deal with config and data that is in JSON format.

jq is a cool tool to handle this, but while the man page is complete, it is also very dry. A nice tutorial can be found at The Programming Historian, which uses some real world use cases. My personal use case is Converting JSON to CSV, and the inverse of that. There also is a mildly interesting FAQ.

Learning jq takes about one quiet afternoon of time.

Published inContainers and Kubernetes

4 Comments

  1. Christian Lauf

    jq is also great to integrate JSON-APIs in Bashscripts.

    No! Stop! Arg! What are you doing with this Leatherman.. Noooooooo! *scnr*

Leave a Reply

Your email address will not be published. Required fields are marked *