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

Dask plugin docs #929

Merged
merged 15 commits into from Jan 23, 2023
Merged

Dask plugin docs #929

merged 15 commits into from Jan 23, 2023

Conversation

bstadlbauer
Copy link
Member

@bstadlbauer bstadlbauer commented Dec 12, 2022

Adds docs for the dask integration developed in flyteorg/flyte#427

Todo before merging (after flyteorg/flyteplugins#275 and flyteorg/flytekit#1366 are in):

  • Revisit all links to make sure they work
  • Add and lock cookbook/integrations/kubernetes/k8s_dask/requirements.in (on Linux)

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
@bstadlbauer
Copy link
Member Author

bstadlbauer commented Jan 15, 2023

@wild-endeavor Things would be ready from my end 👍

@kumare3
Copy link
Contributor

kumare3 commented Jan 16, 2023

I think we should add a note about local execution- that you can execute the dask task locally, in a non clustered mode?

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
@bstadlbauer
Copy link
Member Author

@kumare3 Good point, I've added a section in 87fbe73

Local execution

When running the dask task locally, it will use a local distributed Client. In case you would like to connect the to a remote cluster for when developing locally, you can set the DASK_SCHEDULER_ADDRESS environment variable to the URL of the remote scheduler and the Client() will use the cluster automatically.

Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>

Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Copy link
Contributor

@cosmicBboy cosmicBboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @bstadlbauer ! 🚀

@bstadlbauer bstadlbauer merged commit 2aefe89 into flyteorg:master Jan 23, 2023
@@ -120,6 +120,15 @@ orchestrated by Flyte itself, within its provisioned Kubernetes clusters.

---

.. link-button:: auto/integrations/kubernetes/k8s_dask/index
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samhita-alla I think this change addresses issue flyteorg/flyte#3259

cosmicBboy added a commit that referenced this pull request Jan 30, 2023
cosmicBboy added a commit that referenced this pull request Feb 8, 2023
* Add documentation for `dask` integration

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Fix typos in `pyspark_pi.py`

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Fix typo in `dask_example.py`

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Fix typos

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Update docs after `flyteidl` change

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Add documentation on interruptible behavior

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Address PR feedback

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Small fixes

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Add requirement files for dask

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Add git to Dockerfile

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Add note about local execution

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* minor typos

Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>

Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>
cosmicBboy added a commit that referenced this pull request Feb 8, 2023
* Add databricks to index.rst

Signed-off-by: Kevin Su <pingsutw@gmail.com>

* Dask plugin docs (#929)

* Add documentation for `dask` integration

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Fix typos in `pyspark_pi.py`

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Fix typo in `dask_example.py`

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Fix typos

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Update docs after `flyteidl` change

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Add documentation on interruptible behavior

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Address PR feedback

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Small fixes

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Add requirement files for dask

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Add git to Dockerfile

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* Add note about local execution

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>

* minor typos

Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>

Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>

Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>

* fix up index

Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>

---------

Signed-off-by: Kevin Su <pingsutw@gmail.com>
Signed-off-by: Bernhard Stadlbauer <b.stadlbauer@gmx.net>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Co-authored-by: bstadlbauer <11799671+bstadlbauer@users.noreply.github.com>
Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants