-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Dashboard command does not return and work #364
Comments
To confirm this was while using |
correct, using kubectl proxy |
Since the proxy is running on the Cloud9 instance, you can hit the localhost:8001 from Cloud9 shell by curl. But accessing from your local browser is not available to localhost:8001. Cloud9 has a functionality called "preview", which is a Cloud9 provided proxy to port 8080 on Cloud9 instance, so I'd tried to access https://aaaaaaaaaaaaaaaaaa.vfs.cloud9.us-east-1.amazonaws.com/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/ , but it returns 403. |
Solved this by: thanks Omar |
@nathanpeck experienced this in a recent workshop as well. Similar to #377 |
We probably should put this on hold until - kubernetes/kubernetes#46517 since then in Cloud9 we could have it bind to |
Thanks diegodalmolin. |
Per issue comment here and here suggested following two work on Cloud9 ide preview:
URL should change to as previous @riywo mentioned above from localhost to Cloud9 preview address. Just for the record, in case you "really" need to run |
thanks @minghsieh-prenetics ! Did you test this? If so would you be interested in putting in a Pull Request with the documentation changes? |
@christopherhein Yes I did. We, however, will need to map other ports (e.g. 401-configmaps redis port, and other 4xx level sections, etc.), depends on context / workshop section materials. PR certainly will put at that time. |
@christopherhein 👆 PR. |
…patch-issue-364 issue #364 fix
@nvashish123 Could you test it please? If it's ok for you then please close this issue. |
It worked for me! Excellent! |
in the 201-cluster-monitoring part -
when the command is run to create the Dashboard, the dashboard url is not accessible by either the full URL - http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
or by just accessing the localhost - 127.0.0.1:8001
I am not on amazon VPN while trying this.
The text was updated successfully, but these errors were encountered: