-
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
Unable to connect to Azure Kubernetes Cluster - devicelogin is not supported if interactiveMode is 'never' #6586
Comments
Same here after updating Lens to version 6.1.19 |
I am experiencing the same too - just updated to Lens v6.1.19 and now cannot connect to any clusters (all on AKS). No issue connecting with kubectl / k9s and no changes made to kubeconfig since long before upgrade where everything worked smooth. |
I'm on 6.0.2 but having the same issue trying to log into an AKS with device login for the first time on this install. |
For anyone else having this issue, I had kubelogin v0.21, tried updating to v0.22 no dice. Co-working with v0.20 had no issues, so I downgraded and it works again. Some interaction with lens and that kubelogin version is busted, use v0.20 if possible: https://github.com/Azure/kubelogin/releases/tag/v0.0.20 |
Hey, same issue here but connecting AzDo with private AKS. task: AzureCLI@2 I took the example from here: https://blog.baeke.info/2021/06/03/a-quick-look-at-azure-kubelogin/ I'm using kubelogin v0.22 and AKS 1.24.6 |
For me this was resolved by updating my kubeconfig using: |
@mgvinuesa I faced the same issue and below is what I've done to fix it:
Hope this helps |
Was able to resolve this in windows by bumping kubelogin to v0.0.24+ as they rolled back the device login commits: |
I need the kubelogin v0.0.24+, So I adopt the nixos-unstable version of kubelogin. > Was able to resolve this in windows by bumping kubelogin to v0.0.24+ > <https://github.com/Azure/kubelogin/releases/tag/v0.0.24> > > as they rolled back the device login commits: > [Azure/kubelogin#155](Azure/kubelogin#155) > [Azure/kubelogin#150](Azure/kubelogin#150) <lensapp/lens#6586 (comment)>
Describe the bug
It is not possible to connect from Lens to Azure Kubernetes Cluster
To Reproduce
From command line it is possible to do with the following commands
az login --use-device
az account set --subscription
az aks get-credentials --resource-group --name
kubectl ...
Expected behavior
Interact with the cluster
Screenshots

Environment (please complete the following information):
Lens Version:

OS: [e.g. OSX] Windows 12
Installation method (e.g. snap or AppImage in Linux):
Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: