-
Notifications
You must be signed in to change notification settings - Fork 39
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
feat(k8s): support custom namespaces for Dask resources #621
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #621 +/- ##
=======================================
Coverage 76.01% 76.01%
=======================================
Files 17 17
Lines 1864 1864
=======================================
Hits 1417 1417
Misses 447 447
|
0b6829a
to
b18801c
Compare
b18801c
to
ea89a32
Compare
@@ -759,7 +759,7 @@ def _create_job_spec( | |||
job_controller_container.env.append( | |||
{ | |||
"name": "DASK_SCHEDULER_URI", | |||
"value": f"reana-run-dask-{self.workflow.id_}-scheduler.default.svc.cluster.local:8786", | |||
"value": f"reana-run-dask-{self.workflow.id_}-scheduler.{REANA_RUNTIME_KUBERNETES_NAMESPACE}.svc.cluster.local:8786", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: Works nicely 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo: Please use capital Dask in the commit message headline. (Useful for the release notes.)
ea89a32
to
87e88c0
Compare
87e88c0
to
fbab460
Compare
Spawn and delete dask resources inside the kubernetes namespace used by the REANA cluster.
Closes #619