Skip to content

Bug: Inconsistency in Units and Conversion for CPU and Memory Display #6764

@SATYAsasini

Description

@SATYAsasini

📜 Description

There is an inconsistency in how CPU and memory capacities are displayed on the resource browser.

  • Ki is not a valid unit for CPU.
  • Memory usage is displayed in raw units (e.g., Mi), which can be hard to interpret. It should be converted into a more human-readable format like GiB or TiB based on the value.
Image

👟 Reproduction steps

  1. Open resource browser
  2. Cluster details page

👍 Expected behavior

  1. Resource in human readable format
  2. Correct Units

👎 Actual Behavior

absolute values are coming
CPU's SI unit is incorrect

☸ Kubernetes version

NA

Cloud provider

NA

🌍 Browser

Chrome

🧱 Your Environment

NA

✅ Proposed Solution

  • CPU's resource should have 2 units only Core and milliCore
  • Big absolute values should be converted to human readable formats like in Killi, milli etc.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Labels

bugSomething isn't workingneeds-triageIssue is not approved or ready-to-work on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions