apiVersion: batch/v1 kind: Job metadata: name: nf-af3feafc96e044c20e91df5f088d0b1a-b5a6f namespace: nextflow labels: &id001 {nextflow.io/processName: SOMATIC_CNV_CALLING_SOMA_CNV_ALLELE_COUNTS, nextflow.io/runName: nf-soma-cnv-inline2, nextflow.io/sessionId: uuid-3886801b-80d1-4163-b1e3-4dfcb22e3f4f, pltf/run-name: nf-soma-cnv-inline2, pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: SOMATIC_CNV_CALLING_SOMA_CNV_ALLELE_COUNTS_1029_11H-T1-TDNA-1, pltf/run-id: d877d224, pltf/run-engine: nextflow, pltf/run-creator: chnobles} 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":"nf-soma-cnv-inline2","run_id":"d877d224","run_creator":"chnobles","run_component":"task","task_process":"SOMATIC_CNV_CALLING:SOMA_CNV_ALLELE_COUNTS","task_name":"SOMATIC_CNV_CALLING:SOMA_CNV_ALLELE_COUNTS (1029_11H-T1-TDNA-1_B23KFCWLT4_1)"}', karpenter.sh/do-not-disrupt: 'true'} ownerReferences: - {apiVersion: v1, kind: Pod, name: nf-soma-cnv-inline2-d877d224-drf2s, uid: 7e2c7019-7755-4194-9b41-292ee2bc01a7, controller: true, blockOwnerDeletion: true} spec: backoffLimit: 0 template: metadata: name: nf-af3feafc96e044c20e91df5f088d0b1a-b5a6f namespace: nextflow labels: *id001 annotations: *id002 spec: restartPolicy: Never containers: - name: nextflow image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/soma-cnv:latest 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/af/3feafc96e044c20e91df5f088d0b1a/.command.log||true; exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/af/3feafc96e044c20e91df5f088d0b1a/.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: 4, memory: 16384Mi, ephemeral-storage: 102400Mi} limits: {memory: 16384Mi, ephemeral-storage: 102400Mi} volumeMounts: - {name: vol-81, mountPath: /app} - {name: vol-82, mountPath: /tmp} - {name: vol-83, mountPath: /mnt/secrets} - {name: vol-84, 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-81 emptyDir: [] - name: vol-82 emptyDir: [] - name: vol-83 secret: {secretName: aws-secrets-manager} - name: vol-84 hostPath: {path: /opt/s5cmd} ttlSecondsAfterFinished: 28800