-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
The clusters card shown in the breakdown page doesn't appear to show all clusters for the "platform" feature.
Looking at the code, it appears we grab clusters from the first project only. This typically works because there shouldn't be more than one project displayed in the breakdown page. Using group_by[project]=<name> typically returns just one project.
Unfortunately, this is not the case with the "Platform" feature. For this scenario, we specify group_by[project]=*&filter[category]=Platform, which means there are now multiple projects (e.g., "Platform unallocated", "openshift-kube-apiserver", "kube-system", etc.).
That said, I believe we need to iterate over all the returned projects in order to display clusters properly.
- is related to
-
COST-2872 Crawl: Bucketing “Platform Costs” (instead of Default Projects) for Cost of Running OpenShift
- Closed