ahmetb / kubectl-tree

kubectl plugin to browse Kubernetes object hierarchies as a tree 🎄 (star the repo if you are using)
Apache License 2.0
2.97k stars 121 forks source link

is it feasible for kubectl-tree to produce json output? #38

Open myan9 opened 4 years ago

myan9 commented 4 years ago

Hi! I'm from a visual project called Kui (https://github.com/IBM/kui) that aims at assisting command-line tool with visualization. I found kubectl-tree very useful to, for example, make connection in a soup of my kubernetes resources, and I'm interested in using Kui to add more visual help to kubectl-tree. So I'm wondering if it's feasible for kubect-tree to produce maybe json model that's easier for Kui to consume. Thanks!

ahmetb commented 4 years ago

That has definitely come up in the past. I know there's at least one vscode plugin that parses output of this cmd. If you have time to fix this, I can help.