Hacker News new | ask | show | jobs
by nikau 549 days ago
Can just use normal jq select filters unless I'm missing something?
1 comments

the thing is you'd need 3 k8s queries, one for pods, one for deployments, one for services, then link all of them, and filter... jq helps with the filtering, kubectl can query, but you still need to join the 3 resources to answer the query...
Right, so doable just a bit more effort to do 3 queries to pipes or tmp files
This is Dropbox comment all over again. Lots of things are doable with more manual effort.
True - its a trade off like everything in life - do I want to learn yet another language syntax, or master one like jq.

Personally I feel like mastering jq has more value across a lot more things.