ahmetb/kubectl-tree

Feature Request: List resources in a scope

dwertent opened this issue · 1 comments

It will be great if we can list all of the resources in a scope - namespace/cluster without the need of specifying each resource
e.g.
List all of the resources within my-namespace

kubectl tree namespace my-namespace

List all of the resources within my-cluster

kubectl tree cluster my-cluster

The specified cluster name should be similar to the context name.

FYI I don't mind contributing this feature :)

I am not sure if it would be a dramatic value add. All resources in those scopes is a lot of resources to consume the output by eye.

Furthermore, "get-all" plugin already offers ns/cluster scope querying.