coreos / coreos-kubernetes

CoreOS Container Linux+Kubernetes documentation & Vagrant installers
https://coreos.com/kubernetes/docs/latest/
Apache License 2.0
1.1k stars 466 forks source link

proxying w/ "kubectl proxy", can't reach default UI, vagrant multi node setup #817

Open granthliu opened 7 years ago

granthliu commented 7 years ago

When proxying with "kubectl proxy", cannot reach the default dashboard UI when using the vagrant multi node setup on OSX. Here's what I followed: https://kubernetes.io/docs/user-guide/ui/#command-line-proxy

Could be a kube documentation problem too, or something wrong with our vagrant multi node Attached screenshots showing the proxy working, the error message, and the dashboard pods/services properly running. If I use direct proxy to the dashboard pod it works fine

Proxy

1_proxy

Browser error (notice the internal IP and port of service)

2_error

service and pods

3_dashboard_pod 4_ services

It works fine with direct port fwd to pods

5_forwardworks 6_forwardworks