dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Investigate, and if possible remove, need to fetch all management clusters on load

Open richard-cox opened this issue 1 year ago • 1 comments

SURE-7040

  • In cases where there are LOTS of clusters this has a large impact on load of every page (10+ seconds)
  • We need to understand why we need all mgmt clusters (guessing at least the burger menu) and try to address each
    • For the burger menu, we should be able to use the new pagination api to filter results to get the required max clusters to show

richard-cox avatar Jan 17 '24 12:01 richard-cox

@richard-cox problem is a good part of that slowness comes from Steve's need to fetch the whole collection from Kubernetes. Even if we could filter the results in Steve, the actual endpoint will likely be slow.

Do you see any option to avoid the fetch altogether? Or is it needed in many other places besides the hamburger menu?

moio avatar Jan 31 '24 13:01 moio

@richard-cox is this in scope for 2.14?

nwmac avatar Nov 24 '25 14:11 nwmac

Good news! With vai on and cluster side bar using it we now no longer fetch all mgmt clusters on load. Linking https://github.com/rancher/dashboard/issues/15569

richard-cox avatar Nov 24 '25 17:11 richard-cox