reanahub / reana-workflow-engine-snakemake

REANA Workflow Engine Snakemake
MIT License
0 stars 22 forks source link

scheduler: implement `REANAKubernetesExecutor` #2

Closed mvidalgarcia closed 3 years ago

mvidalgarcia commented 3 years ago

Based on the previous work done for running Snakemake Kubernetes jobs locally, create a new executor class (REANAKubernetesExecutor) which calls the rjc_api_client (reana-job-controller) instead of creating the jobs/containers manually using the k8s python API.

So far, we haven't found an elegant way to plug a custom executor class into the snakemake API. For the time being, let's just monkeypatch their native KubernetesExecutor. If we don't find a nice solution to this, we can consider creating an issue and potentially submit a PR in https://github.com/snakemake/snakemake to make the executor mechanism more flexible and allow third-party systems to plug their own custom executor classes.