workload-collocation-agent icon indicating copy to clipboard operation
workload-collocation-agent copied to clipboard

[1.0.x] Unexpected behavior of metrics aggregation for multi-container pods for K8S.

Open ppalucki opened this issue 5 years ago • 0 comments

Describe the bug Memory usage, memory usage and cache usage are aggregated using "average" function over all containers in pods (task). (docker infrastructure container + one explicit container in pod.spec is not treated as "multi-container" pod)

To Reproduce Run any pod with many containers and observe memory usage as average.

Expected behavior For memory/cache/bandwidth usage, the aggregated value for ContainerSet (Pod) should be sum of all containers.

Context:

  • WCA master and WCA 1.0.x
  • Fixed in devel branch (sum is used by default)

ppalucki avatar Nov 26 '19 12:11 ppalucki