rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
463 stars 261 forks source link

Improve Fleet Performance #12424

Open richard-cox opened 3 weeks ago

richard-cox commented 3 weeks ago

Setup

Contributes to SURE-9104

Describe the bug

Improve or remove fleet git repo clusterResourceStatus and resourcesStatuses getters

Remove dependnecy on bundledeployment resource type

Additional context Reference chain

gitRepo clusterResourceStatus --> shell/components/formatter/FleetSummaryGraph.vue component computed summary. find specific cluster --> status.resoureCounts --> FLEET_SUMMARY header --> Fleet Cluster List View (Resources Column) --> shell/components/fleet/FleetRepos.vue cluster (in not cluster mode) list --> Fleet Git Repo List (actual list) --> Fleet cluster Group List View (Resources Column) --> shell/components/formatter/FleetClusterSummaryGraph.vue wrapper --> shell/components/fleet/FleetRepos.vue (in cluster mode) --> Fleet Cluster Detail View (git repo list 'Resources' column) --> shell/components/fleet/FleetRepos.vue (in cluster mode) --> find current cluster --> cluster.status?.displayStatus
--> Fleet Cluster Detail View (git repo list)

gitRepo resourcesStatuses
--> gitRepo clusterResourceStatus --> shell/components/fleet/FleetResources.vue
--> Fleet Git Repo Detail View (resources table)

trying to summarise ...

gaktive commented 3 weeks ago

I'll defer on filing a back port issue for now until @richard-cox determines the approach.

richard-cox commented 2 weeks ago

/backport v2.10.1

richard-cox commented 2 weeks ago

/backport v2.9.5

richard-cox commented 2 weeks ago

@ QA please reach out to me for areas to test / scale