3 ms·
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, ku
by weddpros 2y 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...
- nikau 2y agoRight, so doable just a bit more effort to do 3 queries to pipes or tmp files
- astonex 2y agoThis is Dropbox comment all over again. Lots of things are doable with more manual effort.
- nikau 2y agoTrue - 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.