Kubernetes Explained Simply: Data Extraction With JSON Path [Part 8]

Written by jameshunt | Published 2021/01/20
Tech Story Tags: opensource | devops | tutorial | k8s | kubernetes | kubectl | containers | hackernoon-top-story

TLDR UNIX is world-famous for its text processing capabilities. JSON Path lets you embed simple scripts into your UNIX commands directly into your pods. The default one, however, is such a good fit for human eyes that we don't always go looking for others. For example, we can dump all of the pods in JSON format, and then use jq to parse through it. The first couple of times, you'll use the pasteboard – highlight the pod name with your mouse, highlight the Pod ID with your. mouse, and you're off to the races. By the third, fourth, or fiftieth time, you're wishing for a better way.via the TL;DR App

no story

Written by jameshunt | R&D at Stark & Wayne, finding software solutions to customer problems and changing them into executable best practices.
Published by HackerNoon on 2021/01/20