-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
1
-
False
-
False
-
COST-5704 - ROSOCP GA (AKA Iteration 1.5): what could not be achieved for MVP
-
-
The recommendations API is missing CPU units (see the "format" property) for the limits and requests recommendation. As a result, the UI omits CPU units when displaying the chart tooltips. This looks odd because we're showing units for boxplot data in the same tooltip. As a user, I'd expect to see "cores" for all values in the tooltip Vs an empty string.
I believe the units were intentionally omitted from the API because we show the limits and requests recommendation as YAML in the UI.
"The yaml format for the resource units needs to adhere to the Kubernetes standard that is outlined here https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/.
Eg. "45 millicores" is represented as "45m", 64 MiB is represented as "64Mi", 2.3 cores is represented as "2.3" (Note cores is not specified)" – dinogun21