Home Page Cluster List Scales Badly
Setup
- Rancher version: 2.9.1 (and before?)
Describe the bug
- The home page cluster list should have local pagination
- List has shown to scale badly when trying to show ~700 rows
- 17 seconds churn to filter by text (could be improved by not re-rendering lots)
- https://github.com/rancher/dashboard/issues/11994
- 13 second list re-render blocking navigation to downstream cluster
- 17 seconds churn to filter by text (could be improved by not re-rendering lots)
To Reproduce
- Load ~700 clusters (they could be RKE2 Custom)
- nav to home page
Result
- all 700 clusters shown
Expected Result
- one page of X shown (given user pref
/backport v2.9.3
Note - https://github.com/rancher/dashboard/pull/11998 contains a 2.9.3 fix
Release Note (combined with https://github.com/rancher/dashboard/issues/11993)
The performance of the Clusters lists in the Home page and the Side Menu has greatly improved when there hundreds of clusters.
Rancher version: 2.10.0-alpha6
UI version: v2.10.0-alpha4
Rancher repro version: 2.9.1
k8s: 1.29 as HA with 3 all roles t3a.xlarge nodes.
Cluster count: 701 (includes local)
Browser: 130.0.6723.92 (Official Build) (arm64) (To utilize the performance tools). Cache disabled.
Server-side Pagination: Disabled
The performance on 2.10.0 is noticeable. On 2.9.1 the home page loaded in not less that ~45 seconds and not completing the Cluster list rendering.
On 2.10.0 the loading times where consistent at around 5 seconds and the Cluster list was rendered properly and paginated as expected.
2.9.1:
2.10.0: