-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Lens does not show Workloads even after full uninstall #3363
Comments
Can you post a video of what you are seeing when you start lens? |
Also I don't think "Workspace" is a kube object type. |
I apologize for the delay here. When i say "workspace" i really just mean the app UI. In the screenshot below, the user has logged into the GKE cluster and connected to it in Lens but cannot see any objects, nothing displays. The user is able to run |
Sounds like the cluster that is being used in lens has a different user account. One that has some restrictive RBAC rules. Are there several clusters in the catalog? |
We control access via Active Directory groups. The user in question is in the same group with the same RBAC assigned via Role as a dozen other users. I temporarily gave the user cluster-admin permissions thinking maybe there was something wrong, but issue persisted. The user has added a second cluster to the catalog ad confirmed that they have the same issue in the second cluster. Could there be some other location where Lens stores configuration files or objects that might need to be manually removed in order to attempt a full uninstall / re-install? |
Yes that would be |
OK thanks. so we did have the user remove that folder many times while we tried to troubleshoot this issue. After every uninstall, we would remove that folder. |
Do you see anything more with |
The only error at the time was It is possible that one of the security tools installed on our laptops are blocking the connectivity and I have opened up a ticket internally to check on that. |
That error occurs if all of the kube APIs URLs for the |
I totally have the same issue. Workloads only show Overview, but inside are empty
Where can I find this folder on my windows? |
Do you have RBAC? On windows that would be |
I'm not sure what's mean by RBAC here. As I know I share one kubenetes with other developers, and my account role is ClusterOwner. |
If you run the lens executable with the environment variable |
I'm experiencing this bug too. In the logs I see this error:
Seems it's trying to download kubectl from this URL which doesn't work https://storage.googleapis.com/kubernetes-release/release/v1.20.8/bin/darwin/arm64/kubectl if I try to download from this URL https://dl.k8s.io/release/v1.20.8/bin/darwin/amd64/kubectl and place in folder, it simply gets deleted the next time I try to run the app. |
@mcm-ham You should be able to just download the version that you want to use and stick it somewhere else and then point Lens at it. FYI your second URL is for an |
Describe the bug
After installing Lens, the workspace does not show anything. Any attempts to expand Workloads, Overview, Apps, etc do not show expected items.
I have attempted to uninstall Lens, remove the Lens directory and cache as well as completely remove the kubeconfig file but the issue persists. I installed from k8lens.dev and using
brew
, but the problem persisted. Several other users do not have this issue.I am able to perform all actions via
kubectl
so I do not think this is a permissions issue within the cluster.To Reproduce
Steps to reproduce the behavior:
gcloud
to populate the kubeconfig to connect to GKE clusterExpected behavior
Expected behavior is to open Lens and be able to see all workloads, nodes and other objects.
Screenshots
Environment (please complete the following information):
brew
Logs:
Only error in logs i see is:
Additional context
I have tried multiple versions 4.x and 5.x without success.
The text was updated successfully, but these errors were encountered: