Skip to content

Node CPU usage, MetalK8s UI may display negative values #3080

Open
@thomasdanan

Description

@thomasdanan

Component:

'ui', 'upgrade', 'prometheus'

What happened:

During an upgrade phase, we may see some CPU usage negative value in the Metalk8s UI.

Screenshot 2021-02-03 at 11 30 27

It is maybe related to the fact that some nodes being cordon/uncordon or some pods being upgraded and restarted.
Nevertheless, it shows there is something wrong in the Prometheus expression we use to collect Node CPU usage data.

What was expected:

Node CPU usage should never display negative values

Steps to reproduce

Resolution proposal (optional):

Metadata

Metadata

Assignees

Labels

complexity:mediumSomething that requires one or few days to fixpriority:mediumMedium priority issues, should only be postponed if no other optiontopic:lifecycleIssues related to upgrade or downgrade of MetalK8s

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions