You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The short: It would be great if we can specify a docker image to use for nextflow kuberun.
The long: We have created a nextflow image with additonal software so that we can log in to the pod and have some tools available. This has worked extremely well and was simple to set-up; we have a question about the configuration file set-up; especially about the persistent volume claim setting and the role of /etc/nextflow/nextflow.config. We create the pod using a yaml file obtained from a nextflow kuberun invocation. This is it:
We create a nextflow pod with kubectl create -f our-copied-file.yaml.
When we log in to the pod with kubectl exec -it king-fisher bash, the file in /etc/nextflow/nextflow.config is this:
Now, nextflow runs fail without producing an exit code and a message that the external system does not work. We assume this has to do with the persistent volume claim; if we add this nextflow.config file, repeating information from /etc/nextflow/nextflow.config, then nextflow works:
We were looking for a way to make this cleaner, but now the first thing that comes to mind is that nextflow already takes care of everything; we think perhaps as a generalisation there could be an option where a docker image can be specified.
The text was updated successfully, but these errors were encountered:
pditommaso
changed the title
k8s nextflow pod administration behaviour/question
Allow the usage of a custom docker image for K8s driver pod
Nov 22, 2018
The short: It would be great if we can specify a docker image to use for
nextflow kuberun
.The long: We have created a nextflow image with additonal software so that we can log in to the pod and have some tools available. This has worked extremely well and was simple to set-up; we have a question about the configuration file set-up; especially about the persistent volume claim setting and the role of
/etc/nextflow/nextflow.config
. We create the pod using a yaml file obtained from anextflow kuberun
invocation. This is it:This config map was created by an earlier run of
nextflow kuberun
. It looks like this:We create a nextflow pod with
kubectl create -f our-copied-file.yaml
.When we log in to the pod with
kubectl exec -it king-fisher bash
, the file in/etc/nextflow/nextflow.config
is this:The environment settings are this:
Now, nextflow runs fail without producing an exit code and a message that the external system does not work. We assume this has to do with the persistent volume claim; if we add this
nextflow.config
file, repeating information from/etc/nextflow/nextflow.config
, then nextflow works:We were looking for a way to make this cleaner, but now the first thing that comes to mind is that nextflow already takes care of everything; we think perhaps as a generalisation there could be an option where a docker image can be specified.
The text was updated successfully, but these errors were encountered: