workload-collocation-agent
workload-collocation-agent copied to clipboard
[1.0.x] Unexpected behavior of metrics aggregation for multi-container pods for K8S.
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)