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

kubectl supports displaying the number of containers in pods when using the describe node command #1691

Open
yangyefei90 opened this issue Dec 25, 2024 · 5 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/cli Categorizes an issue or PR as relevant to SIG CLI.

Comments

@yangyefei90
Copy link

What would you like to be added?

kubectl supports displaying the number of containers in pods when using the describe node command

Why is this needed?

Operations administrators managing clusters with kubectl often prefer to also obtain information about the number of containers in pods when using the describe node command. such as
Non-terminated Pods: (28 in total)
Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits
Container Counts AGE


anna2 demo-pgd9h 100m (0%) 1 (3%) 100Mi (0%) 1Gi (0%) 2 196d
anna2 demo1-5rhk6 100m (0%) 1 (3%) 100Mi (0%) 1Gi (0%) 2 180d

@yangyefei90 yangyefei90 added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 25, 2024
@k8s-ci-robot k8s-ci-robot added needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Dec 25, 2024
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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.

@googs1025
Copy link
Member

You can use custom scripts to achieve this requirement, or use krew to develop custom plugins
FYI: https://github.com/kubernetes-sigs/krew

@vaibhav2107
Copy link
Member

/sig cli

@k8s-ci-robot k8s-ci-robot added sig/cli Categorizes an issue or PR as relevant to SIG CLI. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Dec 26, 2024
@HirazawaUi
Copy link
Contributor

/transfer kubectl

@k8s-ci-robot k8s-ci-robot transferred this issue from kubernetes/kubernetes Dec 27, 2024
@ardaguclu
Copy link
Member

As suggested above, I think it is better to have a separate plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/cli Categorizes an issue or PR as relevant to SIG CLI.
Projects
Status: Needs Triage
Development

No branches or pull requests

6 participants