diff --git a/nextflow.config b/nextflow.config index 32813ef..05acd9c 100644 --- a/nextflow.config +++ b/nextflow.config @@ -1,11 +1,17 @@ +nextflow { + plugins { + registry = 'https://recreational.tech/plugins/' + } +} + plugins { - id 'nf-k8s' + id 'k8s-dvfs@0.1.0' } workDir = '/workspace' process { - executor = 'k8s' + executor = 'k8s-dvfs' container = 'ubuntu:22.04' pod = [ @@ -20,16 +26,21 @@ k8s { storageMountPath = '/workspace' launchDir = '/workspace/launch' projectDir = '/workspace/projects' - cleanup = false + cleanup = true - nextflowImage = 'gitea.kleine.eulenhexe.de/kevin/ma/nextflow-dvfs:0.1' imagePullPolicy = 'IfNotPresent' + schedulerInterval = '1m' + recordTaskRuntimes = true + schedulingStrategy = 'DVFS' + runtimeComparisonEpsilon = '10s' + dvfsSchedulingNumTopRuntimes = 3 nodeInit { - enabled = false - image = 'gitea.kleine.eulenhexe.de/kevin/ma/dvfs-agent:0.1' - command = ['/bin/agent'] + enabled = true + image = 'gitea.kleine.eulenhexe.de/kevin/ma/dvfs-agent:0.2.0' + command = ['/usr/local/bin/agent'] wait = 'Running' - cleanup = false + cleanup = true } + }