I have a cluster in AWS , I inherited that, did not installed, is working fine for some purposes and it also has a dashboard installed but is not working so I have to make it work, all the documents talk about executing proxy command and then access it to localhost, that’s not what I want, I also executed the following:
Preformatted textkubectl proxy --address=‘0.0.0.0’ --port=8001 --accept-hosts=‘^*$’
With that I can access it over the Public IP:
I get prompted with a token , I provide a token but it does not work, then I found this documentation, where it states the following:
Preformatted textHome · kubernetes/dashboard Wiki · GitHub
NOTE: Dashboard should not be exposed publicly using
kubectl proxy command as it only allows HTTP connection. For domains other than
127.0.0.1 it will not be possible to sign in. Nothing will happen after clicking
Sign in button on login page.
That’s what happening to me , when I hit sigg in it does nothing, so Im new to k8s, does anyone have any document or guide to publish the dashboard to the public?
I also changed the dashboard configuration from NodePort to LoadBalancer, then I had something like this:
kubernetes-dashboard LoadBalancer 10.x.x.x a0b0503020e8b11e9dfdfdfeb0be4-12533333444.eu-west-1.elb.amazonaws.com 443:31269/TCP
When I try to access that public IP and port 31269 it does nothing, is that because I need to change something on a Security Group?
What I also noticed from the logs when enabling LoadBalancer more where these errors:
2019/02/23 03:34:12 http: TLS handshake error from 192.168.x.x:12342: EOF
2019/02/23 03:34:14 http: TLS handshake error from 192.168.x.x:64896: EOF
2019/02/23 03:34:19 http: TLS handshake error from 192.168.x.x:10616: EOF
Thanks in advanced.