Git Product home page Git Product logo

Comments (3)

mrocklin avatar mrocklin commented on September 16, 2024

from dask-labextension.

diegodorgam avatar diegodorgam commented on September 16, 2024

thks @mrocklin , I've been trying to do it but I can't get it.
As I'm running the Dask Scheduler in k8s, I have to execute a port-forward command to access the Dask dashboard, like this:

kubectl port-forward --namespace datascience dask-scheduler-86cf9f746b-2qvbg 8787
Forwarding from 127.0.0.1:8787 -> 8787
Forwarding from [::1]:8787 -> 8787

where dask-scheduler-86cf9f746b-2qvbgis the name of the container in my datascience namespace.
So with this command I can get access to the Dask Dashboard throw http://localhost:8787/status
Captura de Tela 2019-09-12 às 14 10 08

I've tried all sort of combinations with the dashboard URL, here:
Captura de Tela 2019-09-12 às 14 11 59
tried:

  • dask-scheduler
  • dask-scheduler:8787
  • dask-scheduler:8787/status
  • dask-scheduler:8787/dashboard
    and all of them with http:// and tcp:// in front of the address, and still nothing happens.

When I ask for a new cluster, a LocalCluster is created and the URL looks like this:
Captura de Tela 2019-09-12 às 14 14 30
dask/dashboard/391a9de9-8d8e-4ae6-8e52-151d314603eb

any ideas on how could I find the right URL to put in there?

tks in advance

from dask-labextension.

diegodorgam avatar diegodorgam commented on September 16, 2024

took a look at #41 and found out something.
With my port-forward enabled I was able to connect to the dashboard with this link http://localhost:8787 (http is important)
As I watched my browser console I've noticed that Jupyter is trying to reach the URL trough HTTPS request and is getting everything blocked due CORS issues...
So my guess is that I should disable CORS stuff in my browser, or create a valid HTTPS address to my dask dashboard...

thinking about trying the second one..
Thanks

from dask-labextension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.