apiVersion: batch/v1 kind: Job metadata: name: nf-deb7ad36a1235d8dac3fc341c957842e-04db8 namespace: nextflow labels: &id001 {nextflow.io/processName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_BUILD_REFERENCE, nextflow.io/runName: soma-cnv-ref-b23t7fylt4-6a249096, nextflow.io/sessionId: uuid-5848ce58-7306-4e76-b350-21183aebc76a, pltf/run-name: soma-cnv-ref-b23t7fylt4-6a249096, pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_BUILD_REFERENCE_build_referen, pltf/run-id: b5b58622, pltf/run-engine: nextflow, pltf/run-creator: rsrivas} annotations: &id002 {ad.datadoghq.com/nextflow.logs: '[{"source":"nextflow","service":"nextflow-task","log_processing_rules":[{"type":"multi_line","name":"nextflow_task_multiline","pattern":"^\\x00NEVER_MATCH"}]}]', ad.datadoghq.com/tags: '{"run_name":"soma-cnv-ref-b23t7fylt4-6a249096","run_id":"b5b58622","run_creator":"rsrivas","run_component":"task","task_process":"SOMATIC_CNV_REF_BUILDER:SOMA_CNV_BUILD_REFERENCE","task_name":"SOMATIC_CNV_REF_BUILDER:SOMA_CNV_BUILD_REFERENCE (build_reference)"}', karpenter.sh/do-not-disrupt: 'true'} ownerReferences: - {apiVersion: v1, kind: Pod, name: soma-cnv-ref-b23t7fylt4-6a249096-b5b58622-jnzff, uid: 061e29ac-16b9-4ecb-a565-f450899dab91, controller: true, blockOwnerDeletion: true} spec: backoffLimit: 0 template: metadata: name: nf-deb7ad36a1235d8dac3fc341c957842e-04db8 namespace: nextflow labels: *id001 annotations: *id002 spec: restartPolicy: Never containers: - name: nextflow image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/soma-cnv:20260604-3cb5ec5 args: [/bin/bash, -o, pipefail, -c, 'trap "{ ret=$?; /opt/s5cmd/bin/s5cmd --log error cp .command.log s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/de/b7ad36a1235d8dac3fc341c957842e/.command.log||true; exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/de/b7ad36a1235d8dac3fc341c957842e/.command.run | bash 2>&1 | tee .command.log'] workingDir: /tmp imagePullPolicy: Always env: - {name: SSL_CERT_FILE, value: /opt/s5cmd/ssl/ca-certificates.crt} - {name: SSL_CERT_DIR, value: /opt/s5cmd/ssl/certs} resources: requests: {cpu: 16, memory: 262144Mi, ephemeral-storage: 102400Mi} limits: {memory: 262144Mi, ephemeral-storage: 102400Mi} volumeMounts: - {name: vol-77, mountPath: /tmp} - {name: vol-78, mountPath: /app} - {name: vol-79, mountPath: /mnt/secrets} - {name: vol-80, mountPath: /opt/s5cmd} nodeSelector: {workload: nextflow-task, karpenter.sh/capacity-type: spot} affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - {key: eks.amazonaws.com/instance-gpu-count, operator: DoesNotExist} serviceAccountName: sa-nextflow securityContext: {runAsUser: 1000} tolerations: - {key: workload, operator: Equal, value: nextflow-task, effect: NoSchedule} volumes: - name: vol-77 emptyDir: [] - name: vol-78 emptyDir: [] - name: vol-79 secret: {secretName: aws-secrets-manager} - name: vol-80 hostPath: {path: /opt/s5cmd} ttlSecondsAfterFinished: 28800