docker { enabled = true } process { container = 'harbor.cluster.omic.ai/omic/chai1:latest' memory = '32 GB' cpus = 4 } profiles { standard { docker { temp = 'auto' runOptions = '--gpus all' } } k8s { process { executor = 'k8s' } k8s { storageClaimName = 'eureka-pvc' storageMountPath = '/omic/eureka' namespace = 'nextflow' serviceAccount = 'nextflow' } } k8s_gpu { process { executor = 'k8s' pod = [[nodeSelector: 'nvidia.com/gpu.present=true'], [env: 'NVIDIA_VISIBLE_DEVICES', value: 'all']] accelerator = [request: 1, type: 'nvidia.com/gpu'] } k8s { storageClaimName = 'eureka-pvc' storageMountPath = '/omic/eureka' namespace = 'nextflow' serviceAccount = 'nextflow' } } }