Bug 1740372 - Cluster infrastructure CPU/memory accounting doesn't cover nodes, system level processes
Summary: Cluster infrastructure CPU/memory accounting doesn't cover nodes, system leve...
Keywords:
Status: VERIFIED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks: 1740373
TreeView+ depends on / blocked
 
Reported: 2019-08-12 18:48 UTC by Clayton Coleman
Modified: 2019-08-13 21:37 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1740373 1742744 1752983 (view as bug list)
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Clayton Coleman 2019-08-12 18:48:20 UTC
infrastructure CPU calculations don't take into account the processes running on the nodes.

Instead of the current calculation, find all workload CPU/memory usage not in the openshift-* namespaces, then subtract that from the cluster CPU usage to get infrastructure use.

Comment 1 Clayton Coleman 2019-08-12 18:49:12 UTC
Metrics 

workload:cpu_usage_cores:sum
workload:memory_usage_bytes:sum

are added

openshift:cpu_usage_cores:sum
openshift:memory_usage_bytes:sum

now include all CPU/memory on nodes not explicitly part of a workload.


Note You need to log in before you can comment on or make changes to this bug.