-
Task
-
Resolution: Done
-
Normal
-
None
When users apply cluster filter on OpenShift details page grouped-by project, the number of Optimizations doesn't reflect this cluster filter.
Since the filtering by cluster is supported also by ROS-OCP app, I wonder if we want to make the cluster filter from OCP details page work for Optimizations? It would require to update all recommendations calls in UI to include cluster=xy if the filter is applied and pre-selection of the cluster filter on Optimization card in such cases
May be this was not a part of the original design, but may be worth considering?
Note that we can't do the same for Nodes, as filtering by nodes is not supported by ros-ocp yet.
Steps to reproduce:
- stage-preview env, cost-demo user
- go to Openshift Details page, group-by Project
- note the number of Optimizations for "analytics" project (3 in my case - optimization_filtering01.png)
- add Cluster filter: "aws" - you will see that the number of Optimizations for a given project didn't change (optimization_filtering02.png)
- click on the number of Optimizations for "analytics" project to get to the Optimization card of this project - you will see 3 optimizations, two of which belong to OpenShift on GCP - Nise Populator cluster (optimization_filtering03.png), which in theory could have been filtered out by applying "cluster: aws" filter in step 4