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.
Based on the previous work done for running Snakemake Kubernetes jobs locally, create a new executor class (
REANAKubernetesExecutor
) which calls therjc_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.