You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Each time I connect to a cluster it takes about a minute for Lens to do it. It hangs on the "Refreshing cluster accessibility..."
To Reproduce
Steps to reproduce the behavior:
Have the cluster disconnected
Click to the cluster
See the connecting log, like in the screenshot, that ends with the "Refreshing cluster accessibility..." message
Expected behavior
The connection to the cluster happens within a couple seconds, and I'm able to observe workloads, etc.
Screenshots
Environment (please complete the following information):
Lens Version: 2024.5.271333-latest
Chrome: 118.0.5993.159
OS: Windows
Installation method: releases binary
Logs:
In lens-main.log there're a lot of lines like this:
warn: [AUTHORIZATION-NAMESPACE-REVIEW]: allowing all resources in namespace="namespace-name" due to incomplete SelfSubjectRulesReview: webhook authorizer does not support user rule resolution
It's because there're lots of namespaces in the cluster that I don't have access to, I guess. And probably that might be the reason why Lens is slowed down on connecting - if it goes through the namespaces list and tries to do something.
The text was updated successfully, but these errors were encountered:
Just to add another data point, I have also been experiencing this delay.
I have admin rights to the clusters, so I don't believe it is due to user permissions. Seems like lens takes a while collecting the initial cluster state.
Describe the bug
Each time I connect to a cluster it takes about a minute for Lens to do it. It hangs on the "Refreshing cluster accessibility..."
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The connection to the cluster happens within a couple seconds, and I'm able to observe workloads, etc.
Screenshots
![2024-06-10-22-55-30-824](https://private-user-images.githubusercontent.com/6898003/338326018-6af58b7e-d41f-4bee-bdff-47624a19cbab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1ODg3MjksIm5iZiI6MTcyNDU4ODQyOSwicGF0aCI6Ii82ODk4MDAzLzMzODMyNjAxOC02YWY1OGI3ZS1kNDFmLTRiZWUtYmRmZi00NzYyNGExOWNiYWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjVUMTIyMDI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDliZTRiN2M3YjVlYWZjYjNmZTYwOTNlNzcyZDI2MDRkMjQyYmFmOTcwNzM0OTUwZjdjOWRjMmRkNDhhNGFlYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.eJkPHfSab9LwSkeHOXTQLmi5SRNgTMkexKRRfA3HpkM)
Environment (please complete the following information):
Logs:
In lens-main.log there're a lot of lines like this:
It's because there're lots of namespaces in the cluster that I don't have access to, I guess. And probably that might be the reason why Lens is slowed down on connecting - if it goes through the namespaces list and tries to do something.
The text was updated successfully, but these errors were encountered: