Skip to content
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

localhost:8001/ui is directing to wrong URL #2419

Closed
vongohren opened this issue Sep 28, 2017 · 5 comments
Closed

localhost:8001/ui is directing to wrong URL #2419

vongohren opened this issue Sep 28, 2017 · 5 comments

Comments

@vongohren
Copy link

Environment
Dashboard version: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.7.0
Kubernetes version: 1.7.4 og pool and master cluster version 1.7.6
Running on GCE
Steps to reproduce

Have the defualt GCE cluster running with 1.7.5. Verify the dashboard works on http://localhost:8001/ui
Then try to deploy the recomended version:
https://github.com/kubernetes/dashboard/blob/master/src/deploy/recommended/kubernetes-dashboard.yaml
Then do
kubectl proxy
Go to http://localhost:8001/ui/

Observed result

Redircets to: http://localhost:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy

Which gives a blank page because it cant load the js and different things.

Expected result

Redirect to: http://localhost:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/
WITH THE / AT THE END
And show the dashboard

@floreks
Copy link
Member

floreks commented Sep 28, 2017

Not a dashboard issue. API server is reponsible for redirect. We are updating latest core version but old version will stay this way.

@floreks floreks closed this as completed Sep 28, 2017
@maciaszczykm
Copy link
Member

Problem is at core repository. I am already working on a fix, you can check progress here: kubernetes/kubernetes#53046.

@gabrielfsousa
Copy link

when this problem will be fixed ?

@floreks
Copy link
Member

floreks commented Oct 10, 2017

Wrong redirect was already fixed in core (kubernetes/kubernetes#52729). It's up to them if they cherry pick it to 1.7 releases (probably not). 1.8 should contain this fix so if you upgrade kubernetes then it should be solved.

@web-apply
Copy link

https://localhosts.mobi/8001 here a good solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants