-
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
Help adding a remote cluster (minikube) #8155
Comments
Hello @mickahell , Thank you for reaching out! I have contacted our development team regarding your issue . |
Can you see if the request is reaching nginx? If not, that HTML response is probably coming from Lens for some reason. |
I don't know, here the entire logs from Lens when I tried to connect it : info: ┏ [CLUSTER-MANAGER-MAIN]: Ensuring cluster connection is active +10s
info: ┗ [1] { clusterId: '7e61cb033a7c2904df8e2e0f1d87b7d5', connectionStatus: 'disconnected' }
info: ┏ [INTERNAL-PROXY-MAIN]: Connection Update +0ms
info: ┗ [1] { update: 'Starting connection ...', clusterId: '7e61cb033a7c2904df8e2e0f1d87b7d5' }
info: ┏ [INTERNAL-PROXY-MAIN]: Connection Update +585ms
info: ┗ [1] { update: 'Authentication proxy started', clusterId: '7e61cb033a7c2904df8e2e0f1d87b7d5' }
info: ▪ [INTERNAL-PROXY-MAIN]: Port 61057 is being used for clusterId="7e61cb033a7c2904df8e2e0f1d87b7d5" kube auth proxy +1ms
info: ┏ [INTERNAL-PROXY-MAIN]: Connection Update +1ms
info: ┗ [1] { update: 'Refreshing connection status ...', clusterId: '7e61cb033a7c2904df8e2e0f1d87b7d5' }
error: ▪ [CLUSTER-MANAGER-MAIN]: Failed to connect to clusterId="7e61cb033a7c2904df8e2e0f1d87b7d5": SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON +43ms
error: ┏ [INTERNAL-PROXY-MAIN]: Connection Update +0ms
error: ┃ [1] {
error: ┃ [2] update: `Unexpected token '<', "<!doctype "... is not valid JSON`,
error: ┃ [3] clusterId: '7e61cb033a7c2904df8e2e0f1d87b7d5'
error: ┗ [4] } I'm guessing the request reach well nginx as the cmd kubectl are working from terminal |
Can you look at the logs of the nginx container to see if the request reaches it? |
What would you like to be added:
Hello everyone, very similar to #5385 I have a remote minikube, and I follow this tutorial to be able to access it from local:
https://medium.com/@bsatnam98/access-minikube-cluster-from-another-device-within-the-same-network-9bbd3f06451
I can access the Kubernes api using curl minikube:password@ip:443, and kubectl from terminal works just fine.
However, I can't get Lens working.
I have the latest version of Lens.
When I run on debug I have this error :
I don't find anything about how pass this error :/
Here my nginx file :
Why is this needed:
Environment you are Lens application on:
Thanks for your help :)
The text was updated successfully, but these errors were encountered: