Bug 2027272

Summary: KubeMemoryOvercommit alert should be human readable
Product: OpenShift Container Platform Reporter: Vadim Rutkovsky <vrutkovs>
Component: MonitoringAssignee: Philip Gough <pgough>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.10CC: amuller, anpicker, aos-bugs, erooth, pgough
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:30:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vadim Rutkovsky 2021-11-29 09:49:30 UTC
Description of problem:
KubeMemoryOvercommit alert description contains bytes:
```
Cluster has overcommitted memory resource requests for Pods by 2.278214144e+09 bytes and cannot tolerate node failure.
```
which is not human readable. Alert text should use `{{ $value | humanize1024 }}` for readability

Comment 2 Junqi Zhao 2021-12-08 09:51:40 UTC
tested with PR, the value is humanized, example:
alert description now is
Cluster has overcommitted memory resource requests for Pods by 76.45G bytes and cannot tolerate node failure.

Comment 9 errata-xmlrpc 2022-03-10 16:30:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056