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

failed to collect info from nodes

cforce opened this issue · comments

What is the issue? What rights is missing?
I can describe nodes without any issue but kubectl-view-allocations has issues.

./kubectl-view-allocations  -g namespace
[2020-07-17T06:38:33Z ERROR kubectl_view_allocations] failed
    cli: CliOpts { namespace: None, show_zero: false, resource_name: [], group_by: [resource, namespace] }
    error: failed to collect info from nodes

    Caused by:
        0: Failed to list nodes via k8s api
        1: Error deserializing response
        2: invalid type: null, expected a sequence at line 1 column 27551

Can you list nodes kubectl get nodes ?
I'll release a new version with an updated version of the k8s api lib used by the app.

yes, i can

I released v0.9.1 with an update of library used to connect to k8s. Maybe it will works or provide more information about the issue.