Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix resource usage (and deepsleep on macs) #8161

Open
applike-ss opened this issue Jan 17, 2025 · 1 comment
Open

Fix resource usage (and deepsleep on macs) #8161

applike-ss opened this issue Jan 17, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@applike-ss
Copy link

Describe the bug
My device ran out of battery multiple times over night (was at 100% before and then unplugged and lid closed for device sleep).
I was surprised that lens is taking an insane amount of resources when not able to authenticate against EKS.

To Reproduce
Steps to reproduce the behavior:

  1. Use AWS with SSO
  2. Connect to a cluster, use lens for some time
  3. Let your authentication token for SSO expire
  4. See how lens goes crazy with resources and eats up battery in sleep when the auth token expired over night

Expected behavior
On authentication fail (3x in a row?) a user should be hitting a retry button instead of retrying to infinity.
Same goes for failing requests to the kubernetes api, as these seem to also be causing it.

Screenshots
Battery graph of MacOS (i swear i wasn't working at night):
Image

Logs visible in Console app:
Image

Environment (please complete the following information):

  • Lens Version: 2024.11.x
  • OS: OSX
  • Installation method (e.g. snap or AppImage in Linux): -

Logs:

Kubeconfig:

Additional context

@applike-ss applike-ss added the bug Something isn't working label Jan 17, 2025
@koshevka
Copy link

Hello @applike-ss, thank you so much for reporting this bug and bringing it to our attention!

I’ve already addressed this issue with the appropriate team, and they will look into it as soon as possible. We’ll keep you updated on any progress.

Thanks again for helping us improve!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants