benc-uk/kubeview

Unable to add node / link

Opened this issue · 0 comments

on some of our namespaces i get these errors in the browser's javascript console (chrome and firefox)

image

And that leads to the nodes being created and linked, but they are all stacked ontop of eachother:

image

This problem did not occur when i deployed kubeview into my HomeLab k8s cluster.
Diffrences between those 2 are:

Homelab:
No RBAC
Single Node
k8s Version 1.20

Other Cluster:
RBAC
Multi Node
k8s version 1.18

Logs of the pod are not showing anything suspicious.

i assume that the function that renders out the map is called to early since the loading animation is still displayed at that time, so i think it tries to render before the API call to get all the objects in the namespace is completed. does that make sense?