davidB / kubectl-view-allocations

kubectl plugin to list allocations (cpu, memory, gpu,... X utilization, requested, limit, allocatable,...)

Home Page:https://crates.io/crates/kubectl-view-allocations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI option for kubeconfig context

thriqon opened this issue · comments

In our environment, we have multiple clusters configured in one .kube/config file. Currently, kubectl-view-allocations can only use the default one. It would help me a lot if kubectl-view-allocations supported a switch --context test, similar to kubectl.

The version 0.11.0 includes --context but I was not able to test it, can you tell me if it works or not.

Thanks.

It works, thanks a lot! That was really fast work, I'm seriously impressed!