Y
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
weddpros
549 days ago
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...
link
nikau
549 days ago
Right, so doable just a bit more effort to do 3 queries to pipes or tmp files
link
astonex
549 days ago
This is Dropbox comment all over again. Lots of things are doable with more manual effort.
link
nikau
549 days ago
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.
link