apiVersion: batch/v1 kind: Job metadata: name: job-nextflow-digital-trials namespace: bioinformatics spec: backoffLimit: 1 completionMode: NonIndexed completions: 1 manualSelector: false parallelism: 1 podReplacementPolicy: TerminatingOrFailed suspend: false template: spec: containers: - command: - /bin/bash - -c - cd /mnt/dreamdock-data/digital_trials && nextflow run main.nf -profile k8s ## CHANGE ME image: nextflow/nextflow:25.04.6 imagePullPolicy: IfNotPresent name: nextflow resources: limits: cpu: "4" memory: 8Gi requests: cpu: "2" memory: 4Gi terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: ## CHANGE ME - mountPath: /mnt/ZINC-22 name: zinc-22-volume - mountPath: /mnt/dreamdock-data name: dreamdock-volume dnsPolicy: ClusterFirst restartPolicy: Never schedulerName: default-scheduler securityContext: {} serviceAccount: nextflow-sa serviceAccountName: nextflow-sa terminationGracePeriodSeconds: 30 volumes: ## CHANGE ME - name: zinc-22-volume hostPath: path: /mnt/ZINC-22 type: Directory - name: dreamdock-volume persistentVolumeClaim: claimName: dreamdock-data