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

Improvement required in kubectl get #1555

Closed
Ritikaa96 opened this issue Feb 9, 2024 · 7 comments
Closed

Improvement required in kubectl get #1555

Ritikaa96 opened this issue Feb 9, 2024 · 7 comments
Assignees
Labels
area/kubectl kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence. sig/cli Categorizes an issue or PR as relevant to SIG CLI. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@Ritikaa96
Copy link
Contributor

What happened:
kubectl get --help states the following even though we can use --namespace to get details for other namespace resources.

Display one or many resources.

 Prints a table of the most important information about the specified resources.
You can filter the list using a label selector and the --selector flag. If the
desired resource type is namespaced you will only see results in your current
namespace unless you pass --all-namespaces.
...

What you expected to happen:
The description should mention --namespace as this can show objects/resources from different namespace as well

How to reproduce it (as minimally and precisely as possible):
Try: kubectl get --help

@Ritikaa96 Ritikaa96 added the kind/bug Categorizes issue or PR as related to a bug. label Feb 9, 2024
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Feb 9, 2024
@Ritikaa96
Copy link
Contributor Author

/area kubectl
/sig cli

@k8s-ci-robot k8s-ci-robot added area/kubectl sig/cli Categorizes an issue or PR as relevant to SIG CLI. labels Feb 9, 2024
@Ritikaa96
Copy link
Contributor Author

Related to #1432
Would like to contribute this change if the triage get accepted.

@Ritikaa96 Ritikaa96 changed the title Improvement need for kubectl get help Improvement required in kubectl get Feb 9, 2024
@ardaguclu
Copy link
Member

I think, this makes sense, because all the other flags in the description is referred as example already.
/triage accepted
/priority backlog
@Ritikaa96 feel free to open a PR

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/backlog Higher priority than priority/awaiting-more-evidence. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Feb 14, 2024
@Ritikaa96
Copy link
Contributor Author

/assign
thanks @ardaguclu

@Ritikaa96
Copy link
Contributor Author

I've raised a PR for the same here

@ardaguclu
Copy link
Member

PR is merged;
/close

@k8s-ci-robot
Copy link
Contributor

@ardaguclu: Closing this issue.

In response to this:

PR is merged;
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubectl kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence. sig/cli Categorizes an issue or PR as relevant to SIG CLI. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

3 participants