NimbleArchitect / kubectl-ice

Kubectl-ice is an open-source tool for Kubernetes users to monitor and optimize container resource usage. Features include usage breakdowns for pods and containers, making scaling and optimization easier. The tool is compatible with major cloud providers and is actively developed by a community of contributors
Apache License 2.0
250 stars 9 forks source link

kubectl ice cpu - incorrect value (v0.0.9+) #2

Closed burningalchemist closed 2 years ago

burningalchemist commented 2 years ago

Hi,

After the update from v0.0.8 to v0.0.10 the command kubectl ice cpu always shows 1000 for requests/limits. I had to downgrade to v0.0.8, since v0.0.9 is also having the same issue.

Example: v0.0.8

T  PODNAME                                               CONTAINER                     USED  REQUEST  LIMIT     %REQ  %LIMIT
S  api-redis-master-0                                    api-redis                     16    125m     500m      15.44 -

v0.0.9+

T  PODNAME                                               CONTAINER                     USED  REQUEST  LIMIT     %REQ  %LIMIT
S  api-redis-master-0                                    api-redis                     16    1000     1000      15.15 -

Thanks for the plugin!

Kind regards, Sergei

NimbleArchitect commented 2 years ago

thanks for raising it to me I completely missed that while testing, a fix is on its way

NimbleArchitect commented 2 years ago

release 0.0.11 is up and should fix the issue

burningalchemist commented 2 years ago

Works as intended, thanks! :+1: