Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: List resources in a scope #56

Open
dwertent opened this issue Sep 12, 2022 · 2 comments
Open

Feature Request: List resources in a scope #56

dwertent opened this issue Sep 12, 2022 · 2 comments

Comments

@dwertent
Copy link

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 :)

@ahmetb
Copy link
Owner

ahmetb commented Sep 14, 2022

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.

@pasteley
Copy link

That may be useful to list all deployments in namespace or to list all resources within specific namespace
Also I'd prefer if syntax will be consistent with default kubectl arguments like -n/--namespace as argument and all as resource name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants