Add lambda-g plugin v1.0.0 — 6D K8s resource imbalance scanner#5603
Add lambda-g plugin v1.0.0 — 6D K8s resource imbalance scanner#56030x-auth wants to merge 6 commits into
Conversation
|
🤖 Beep beep! I’m a robot speaking on behalf of @ahmetb. 🤖 Thanks for submitting your kubectl plugin to Krew! In the meanwhile, here are a few tips to make your plugin manifest better:
Thanks for your patience! |
|
Welcome @0x-auth! |
|
Hi @0x-auth, thanks for submitting A few things to be aware of for new plugin submissions:
Before this proceeds further, please take a look at several existing plugins that appear to overlap with what
These existing plugins collectively cover CPU, memory, and GPU resource monitoring and imbalance detection. We'd encourage you to try them out and consider whether your use case (multi-dimensional imbalance detection) could instead be contributed as a feature to one of these established projects rather than introducing a new separate plugin. Generated by Claude Code |
|
@ahmetb Thanks for the detailed review. I've looked at all four plugins you mentioned. The distinction is that lambda-g doesn't report utilization per resource , it detects cross-dimensional imbalance: nodes where CPU is saturated but RAM is idle, or GPU is maxed but compute is free. This is a different problem. resource-capacity and view-utilization show you numbers. lambda-g tells you which nodes are structurally misallocated across dimensions simultaneously. popeye flags misconfigurations; lambda-g flags imbalance patterns that waste budget. Happy to add a comparison table to the README if that would help |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 0x-auth, ahmetb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
omerXfaruq
left a comment
There was a problem hiding this comment.
@0x-auth it seems some time has passed, are you still interested in pursuing this PR?
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 0x-auth, ahmetb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Hi @omerXfaruq, yes - still very much interested, apologies for the long silence (had some personal matters to deal with). I will get the CLA signed immediately via the EasyCLA link. To address the overlap question raised earlier by @ahmetb -
The closest analogue would be a center-of-mass calculation for your cluster - Happy to clarify further or make any manifest changes needed. Thanks for keeping the PR open. |
|
Given the differences are sufficient to warrant a new plugin, I'm happy to accept it. Please look at the failing validation. |
|
New changes are detected. LGTM label has been removed. |
…ples from description
…ames
The release archives contain binaries named kubectl-lambda_g-{os}-{arch}
but the manifest specified bin: kubectl-lambda_g. Add files: sections to
rename each platform binary to the expected name during install.
v1.0.2 release bundles LICENSE in all archives (required by krew validator) and is built with -s (strip symbol table) for smaller binaries. Files mapping renames platform-suffixed binaries to kubectl-lambda_g.
6560b5b to
9d1fef0
Compare
|
Hi @ahmetb — sorry for the extra push. Had to force-push to add GPG signatures to the commits (krew requires verified signatures). The |
New Plugin:
kubectl lambda-gScans your Kubernetes cluster for stranded resources across 6 dimensions: CPU, RAM, GPU Core, GPU Memory, IOPS, Network.
Detects nodes where one resource is maxed while others sit idle — the kind of cross-dimensional imbalance that
kubectl topmisses.