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

Use Kubernetes executor for Nextflow pipelines instead of SGE #879

Open
mike-miroliubov opened this issue Dec 23, 2019 · 1 comment
Open
Labels
kind/enhancement New feature or request sys/core Issues related to core functionality (API, VM management, ...)

Comments

@mike-miroliubov
Copy link

Background
Just an idea:
Currently SGE executor is being used for Nextflow pipelines. For this sake, an auto-scaling SGE cluster has to be deployed by cloud pipeline (over Kubernetes cluster). This works fine, however, introduces a redundant level of orchestration. Plus, SGE's scheduling, error codes and etc are far from perfect. On the other hand, Nextflow natively supports using Kubernetes as an executor and we can leverage this support to get rid of SGE in this case.

Approach
Use Nextflow built-in Kubernetes support:
https://www.nextflow.io/docs/edge/executor.html#kubernetes
https://www.nextflow.io/docs/edge/kubernetes.html
https://www.nextflow.io/docs/edge/config.html#scope-k8s
and, probably,
https://www.nextflow.io/docs/edge/kubernetes.html#running-in-a-pod

It should be possible to bound nodes for Nextflow cluster with namespace or node labels, using NF k8s config.

@mike-miroliubov mike-miroliubov added the kind/enhancement New feature or request label Dec 23, 2019
@sidoruka
Copy link
Contributor

@K-I-T-E thanks for this proposal. We've considered Kube executor as an option in the initial implementation (See #291). But in the end, we've chosen to follow the strategy:

To my mind, implementation of the direct Kube executor support won't bring much of the value to the platform but requires a lot of engineering effort.

But definitely, there can be other valuable opinions. @mzueva @tcibinan any thoughts?

@sidoruka sidoruka added the sys/core Issues related to core functionality (API, VM management, ...) label Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request sys/core Issues related to core functionality (API, VM management, ...)
Projects
None yet
Development

No branches or pull requests

2 participants