kdash-rs / kdash

A simple and fast dashboard for Kubernetes
https://kdash.cli.rs
MIT License
2.11k stars 79 forks source link

Error when fetching all kubernetes ressources #379

Open rdegez opened 1 year ago

rdegez commented 1 year ago

Describe the bug I'm using goteleport.com to configure current kube context & kubeconfig. It works perfectly when using kubectl or k9s but when launching kdash, there are a lot of errors like:

Failed to get nodes. SerdeError(Error("expected value", line: 1, column: 1)) Failed to get namespaced resource kdash::app::pods::KubePod. SerdeError(Error("expected value", line: 1, column: 1))

For all resources kdash is trying to fetch (see screenshot) Tried on multiple k8s cluster of various version and I got those errors in any case.

image

deepu105 commented 1 year ago

is the kubeconfig in the usual location? do you see it in the contexts tab?

dimm0 commented 1 year ago

I had the same problem once I started. On the 2nd try it's still giving me some errors with CRDs, but at least I can see the pods and nodes.