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

Allow custom table output #102

Open
starlightromero opened this issue Oct 5, 2023 · 1 comment
Open

Allow custom table output #102

starlightromero opened this issue Oct 5, 2023 · 1 comment

Comments

@starlightromero
Copy link

As a user, I would like to customize the table output. One specific use case is running the command kube-capacity -c to get the resources for all containers. This command produces a wide output. It would be helpful if I can omit, for example, node and namespace.

I propose a command such as:

kube-capacity -c --custom-columns POD,CONTAINER,CPU REQUESTS,CPU LIMITS,MEMORY REQUESTS,MEMORY LIMITS

With this command, the NODE and NAMESPACE columns from the command kube-capacity -c would not be displayed

@almson
Copy link

almson commented Feb 1, 2024

I second this. In particular, I'd like to examine and tune just memory requests vs usage. I'd also like to display additional columns like total capacity.

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

2 participants