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

Issue with k8s.io/docs/tutorials/hello-minikube/ #12968

Closed
1 of 2 tasks
hibikutek opened this issue Mar 4, 2019 · 8 comments
Closed
1 of 2 tasks

Issue with k8s.io/docs/tutorials/hello-minikube/ #12968

hibikutek opened this issue Mar 4, 2019 · 8 comments

Comments

@hibikutek
Copy link

This is a...

  • Feature Request
  • Bug Report

Problem:
Error when running minikube dashboard

Proposed Solution:

Page to Update:
https://kubernetes.io/...

Stacktrace:
$ minikube dashboard

@controllinghand
Copy link

controllinghand commented Jul 25, 2019

Found a work around.

Step 1:
^C

Step 2:
$ sudo apt-get update

Step 3:
$ apt install xdg-utils

Step 4: continue with Tutorial :-).

@thecrudge
Copy link
Contributor

/cc @BenHall

@BenHall
Copy link
Contributor

BenHall commented Aug 13, 2019

Thanks for the issue with xdg-open. As we can't open the link directly on your browser via xdg-open given the sandbox nature and as a workaround the documentation indicates to load the link by selecting the port.

Last week we added a direct to the Dashboard which will hopefully make this easier. However I didn't realise the number of issues related to people clicking the link. Sorry for not actioning this sooner.

Today we added an override for xdg-open that displays a friendly error message to users. They'll now be prompted to use the Preview Port link provided. The output is now:

$ minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening %s in your default browser...
Minikube Dashboard is not supported via the interactive terminal experience.

Please click the 'Preview Port 30000' link above to access the dashboard.
This will now exit. Please continue with the rest of the tutorial.
X failed to open browser: exit status 1

We are also investigating how we can make xdg-open open the link as expected, but will take some more development time.

In the meantime, we believe this issue can now be closed.

@sftim
Copy link
Contributor

sftim commented Sep 10, 2019

/close
based on #12968 (comment)

@k8s-ci-robot
Copy link
Contributor

@sftim: Closing this issue.

In response to this:

/close
based on #12968 (comment)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jmichalik
Copy link

This still seems to be an issue. When using the Select port to view on Host 1 from the tab and inputting 30000, the KataKoda display in the browser is stuck on Connecting to Port 30000. Am I missing something?

@BenHall
Copy link
Contributor

BenHall commented Jan 2, 2020

Thanks for letting us know @jmichalik - With 1.17 the namespace was changed so it's introduced a timing issue.

We have a fix in place and it will be rolled out later today.

@Colstuwjx
Copy link
Contributor

@BenHall Could you please confirm about this issue? I still meet this issue in our website, see the result below:

image

image

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

8 participants