-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Cannot access dashboard with no error #2540
Comments
What exactly have you done in this step? You should copy one of secrets' token. |
I typed in the token of kubernetes-dashboard-token-jn7tx |
I edit kubernetes-dashboard service,change the service type from ClusterIP to NodePort,and access dashboard with the ip and port instead of the proxy,in this case,everything is ok. |
change the service type from ClusterIP to NodePort wont work for me :( i cant telnet to he port :( |
@jhcpokemon What happens after filling token and confirming it with |
Nothing happend,and no error in the chrome console. |
This can only happen if you are exposing Dashboard using |
Yes,I run the kubernetes cluster in my centos 7 virtual machine,and access the dashboard with the vm's IP,like this |
Then this is the real reason. Your initial description was misleading:
Logging in is only available when accessing Dashboard over HTTPS or when domain is either It is mentioned in our documentation:
|
@floreks I exposed the dashboard publicly which is running on my CentOS VM and can't sign in as it is over HTTP. How do I expose the dashboard over HTTPS ? |
Environment
Steps to reproduce
1.use kubeadm,install k8s 1.8.1,all green
2.deploy influxdb,grafana,heapster and up
2.
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
deply dashboard3.goto
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
4.type in token in kubernetes-dashboard-token-xxxxx secret
Observed result
The dashboard login page has no response,.and dashboard log show that
2017/11/03 07:29:41 [2017-11-03T07:29:41Z] Outcoming response to 10.244.0.1:47609 with 200 status code 2017/11/03 07:29:41 [2017-11-03T07:29:41Z] Incoming HTTP/2.0 GET /api/v1/login/status request from 10.244.0.1:47609: {} 2017/11/03 07:29:41 [2017-11-03T07:29:41Z] Outcoming response to 10.244.0.1:47609 with 200 status code
Expected result
I expected to entry dashboard.
Comments
The text was updated successfully, but these errors were encountered: