davidB / kubectl-view-allocations

kubectl plugin to list allocations (cpu, memory, gpu,... X utilization, requested, limit, allocatable,...)
https://crates.io/crates/kubectl-view-allocations
Creative Commons Zero v1.0 Universal
665 stars 42 forks source link

Add flag to calculate Free as `Allocatable - Requested` #241

Open aantn opened 4 months ago

aantn commented 4 months ago

This is really useful when trying to understand why a pod can't be scheduled somewhere (limits are ignored for scheduling purposes)

sequix commented 1 week ago

Try this when it comes to debug scheduling problem, a bit slow but does the job:

https://gist.github.com/sequix/2399597340521140bd21f322f4ce820c