-
Notifications
You must be signed in to change notification settings - Fork 466
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
Add new plugin, kubectl resources
#432
Conversation
Welcome @howardjohn! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: howardjohn The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks for submitting. Do you mind explaining how is it different than the several resource/allocation plugins we have? |
I guess it is similar to view-allocations, just curious if it’s entirely overlapping or not. |
As far as I know this is the only one aggregating resource requests/limits with usage. I realize it isn't groundbreakingly innovative, I made it since I find it useful and someone opened an issue recommending me to add it to krew |
For reference, I'm attaching screenshots:
The Per our guidelines, this plugin likely would require renaming to accurately represent what it does (like |
You can also aggregate by namespace or node for what its worth, with |
Yeah, in that case --by=node part is overlapping with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @howardjohn, thanks for submitting this to krew!
Of the three alternatives, I like this plugin the most, because it produces a clean and noise-free report. However, the overlap with other plugins is substantial. Most of all, this is creates a naming problem. Just resources
is too generic and many other names are already taken. Here you need to be a bit more creative (maybe resource-overview
?).
Overall, I'm not 100% sure what to do here. So far we have pushed back plugins which are too similar to other ones. If you have something that clearly sets this plugin apart from the other ones, that would help a lot 😃.
Alternatively, if you plan to add something that makes your plugin unique, then let's wait for that before merging.
I don't have any current plans to add any more features to the plugin (maybe a --watch flag, but not a high priority), but I am open to suggestions. I am fine with changing the name, |
I'm good with both This would help it distinguish from |
Then let's add this plugin to the index too. Please let us know if you plan to rename your repo as suggested. |
Overview of Kubernetes resource requests, limits, and usage. | ||
homepage: https://github.com/howardjohn/kubectl-resources | ||
description: | | ||
Overview of Kubernetes resource requests, limits, and usage. This plugin aggregates resource usage, similar to `kubectl top`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you wrap this at ~80 chars for easier reading on small terminals?
Sounds good. I'll rename everything in my repo then send out an updated PR later. Thanks! |
@howardjohn is this availble with krew yet? |
Fixes howardjohn/kubectl-resources#24