craigcondit commented on PR #146:
URL: https://github.com/apache/yunikorn-web/pull/146#issuecomment-1806802793

   I think the existing special-casing of ephemeral-storage should be modified, 
and all resources except cpu and memory should be formatted with powers-of-10 
units for large quantities. In recent times, only memory is treated as 
powers-of-2; all other resource types in Kubernetes are untyped quantities and 
so should also be treated as powers-of-10 by default. For example, in some 
future world where GPUs are plentiful and cheap, "gpu: 4k" makes sense to 
represent 4000. So the rules become:
   
   CPU: m, (bare), k, M, G, T, P, E (powers of 10, no units)
   Memory: bytes, KiB, MiB, GiB, TiB, EiB (powers of 2, byte units)
   Ephemeral storage: bytes, KB, MB, GB, TB, EB (powers of 10, byte units)
   All others: (bare), k, M, G, T, P, E (powers of 10, no units)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to