lens icon indicating copy to clipboard operation
lens copied to clipboard

Lens is counting completed jobs when sumarizing global limits and resources

Open jmpalomar opened this issue 3 years ago • 1 comments

Describe the bug When jobs are completed they remain for checking purposes inside Kuberentes. Lens is adding those jobs resource limits and requests when summarizing global limits. It should only count running pods.

To Reproduce Steps to reproduce the behavior:

  1. Configure a job with resource requests and limits and run it several times
  2. Resource requests and limits of completed jobs are added to total counts for cluster

Expected behavior Resource requests and limits should not be counted for completed jobs

Environment (please complete the following information):

  • Lens Version: 4.2.1
  • OS: OS X
  • Installation method (e.g. snap or AppImage in Linux): DMG

jmpalomar avatar Apr 14 '21 06:04 jmpalomar

This is still an issue in my case. Lens: v6.2.5

image

If you go check it counts non-running pod into request and limits image

zzorica avatar Dec 12 '22 09:12 zzorica