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

config: add k8s default namespace #106

Merged
merged 1 commit into from
Apr 2, 2019

Conversation

roksys
Copy link
Contributor

@roksys roksys commented Mar 26, 2019

config+api: add k8s default namespace & multiple job backends support

Signed-off-by: Rokas Maciulaitis [email protected]

@roksys roksys added this to the v0.5.0 milestone Mar 26, 2019
@ghost ghost assigned roksys Mar 26, 2019
@ghost ghost added the Status: in review label Mar 26, 2019
@@ -133,3 +133,5 @@

REANA_WORKFLOW_UMASK = 0o0002
"""Umask used for workflow worksapce."""

K8S_DEFAULT_NAMESPACE = "DEFAULT"
Copy link
Member

Choose a reason for hiding this comment

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

We should probably add a docstring explaining what it is and maybe even renaming the variable so we state clearly that this namespace is the namespace where all REANA Workflow Engines and Kubernetes jobs are going to be spawned in.

To help with the naming, this is closely related to Tibor's reanahub/reana-job-controller#71 (comment), where he makes reference to the five compute layers of the REANA platform and this variable would affect layer 2, so something like K8S_WORKFLOW_RUNTIME_DEFAULT_NAMESPACE, what do you think?:)

@roksys roksys force-pushed the job-class-abstraction branch 2 times, most recently from b8d10ef to 5d908a2 Compare March 29, 2019 10:28
* Add config var for default K8s job namesapce. API changes for multiple
  job bakend support.
  Connects reanahub/reana-job-controller/issues/118

Signed-off-by: Rokas Maciulaitis <[email protected]>
@roksys roksys force-pushed the job-class-abstraction branch from 5d908a2 to a5c30c0 Compare April 1, 2019 13:44
@diegodelemos diegodelemos merged commit a5c30c0 into reanahub:master Apr 2, 2019
@ghost ghost removed the Status: in review label Apr 2, 2019
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

Successfully merging this pull request may close these issues.

2 participants