-
Sub-task
-
Resolution: Done
-
Normal
-
None
-
None
-
1
-
False
-
False
-
COST-5108 - Attribute node attached storage to OpenShift Projects
-
Undefined
Summary
If we can, we should include node information in our storage report coming from our operator.
Currently we try to get the node for a volume claim by joining to pod data after the fact, and this can cause some duplication. It would be better to get the definitive node information from prometheus.
Details
- The kubelet metrics we use (i.e. kubelet_volume_stats_used_bytes) include node.
We should add this as a static field similar to https://github.com/project-koku/koku-metrics-operator/blob/de47e851621c1ab641c5692f912875303082709e/collector/queries.go#L56 - Then we can update the storage report to include node.
- links to
-
RHBA-2024:132865 Cost Management security fix and enhancement update