Description of problem: The topology loads the complete HorizontalPodAutoscalers (HPA) resource list for each Deployment which is shown on the topology. This happens because the HPA resource reference the Deployment within the spec only. But the topology should avoid fetching the same list again and again anyway. Version-Release number of selected component (if applicable): Reproducible on 4.8+ 4.6/4.7 not tested yet. How reproducible: Always with Topologies with at least two Deployments. Steps to Reproduce: 1. Import two Deployments 2. Open the network inspector of your browser and navigate to the topology 3. Reload the browser tab Actual results: See multiple API calls fetching HPAs, one per Deployment /api/kubernetes/apis/autoscaling/v2beta2/namespaces/openshift-monitoring/horizontalpodautoscalers? Expected results: Should not fetch the same resource more then once. Additional info:
Verified on 4.10.0-0.nightly-2022-01-24-181700 See only 1 api call for HPA
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0056