I’m having problems adding our AKS cluster to the LENS desktop. I went to the LENS documentation but I find that it glosses over any detailed steps. Is there someplace that does a step by step walkthrough on configuring the desktop to connect to the AKS resources?
Are you able to connect to the cluster using kubectl (on the same system you are running Lens)? You could try launching Lens from the same shell that kubectl works in. In some cases Lens does not get the same shell environment when launched from the GUI. What platform are you running Lens on?
We’re running LENS under windows 10. It’s a VM running in the same azure subscription and is peered with the K8 cluster. The same instance of LENS while not able to access this environment’s cluster does access other K8cluster in our other environments/subscriptions.
One thing that I don’t understand is the syntax and source of the data (or generate it) I need enter in the add cluster panel. I copied over those settings for a different set of cluster in a different azure subscription from my local machine and I can connect to those other cluster from the VM, I just can’t seem to add these new clusters.
It could be an AKS issue with connecting to that cluster. Lens relies on the same kube config that kubectl uses. If you can’t connect using kubectl then Lens typically won’t work either. Unfortunately I don’t have any experience with AKS, maybe someone else here does.