kube-capacity
kube-capacity copied to clipboard
incorrect memory value then memory specified in decimal format
trafficstars
bug #66 appears then memory request\limit specified in decimal format, so i think if we make format according typeResource everythink will be ok. But there are a few comments
- Request\Limits will be converted to BinarySi формат
- formatToMegiBytes function rounds up, not is the best way in all situation. Fore example 128M = 122,0703125 Mi , but function rounds it to 123Mi
before
request memory = 128M
limit memory = 512M
)
after
request memory = 128M
limit memory = 512M
)
@robscott hello, can you please take a look on this PR ?
We are hitting this issue as well. Too many zero's to parse for my human brain :)
Sorry for the delay on this! Thanks for the fix @cloud-66!