apiVersion: batch/v1 kind: Job metadata: name: nf-30024c99c721aa2fff451db664400b5e-2b9f3 namespace: nextflow labels: &id001 {nextflow.io/processName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_PROBE_COUNTS, nextflow.io/runName: nf-soma-cnv-inline5, nextflow.io/sessionId: uuid-1c005dd7-1632-4d62-b6c0-bbe5c643bd5b, pltf/run-name: nf-soma-cnv-inline5, pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_PROBE_COUNTS_1029_16G-N1-BDNA, pltf/run-id: 37fe037e, 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-inline5","run_id":"37fe037e","run_creator":"chnobles","run_component":"task","task_process":"SOMATIC_CNV_REF_BUILDER:SOMA_CNV_PROBE_COUNTS","task_name":"SOMATIC_CNV_REF_BUILDER:SOMA_CNV_PROBE_COUNTS (1029_16G-N1-BDNA-1_B23KGCJLT4_1)"}', karpenter.sh/do-not-disrupt: 'true'} ownerReferences: - {apiVersion: v1, kind: Pod, name: nf-soma-cnv-inline5-37fe037e-l2cx4, uid: b1ba8559-b59e-4144-8d33-e22e732b306d, controller: true, blockOwnerDeletion: true} spec: backoffLimit: 0 template: metadata: name: nf-30024c99c721aa2fff451db664400b5e-2b9f3 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/30/024c99c721aa2fff451db664400b5e/.command.log||true; exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/30/024c99c721aa2fff451db664400b5e/.command.run | bash 2>&1 | tee .command.log'] workingDir: /tmp imagePullPolicy: Always env: - {name: SSL_CERT_DIR, value: /opt/s5cmd/ssl/certs} - {name: SSL_CERT_FILE, value: /opt/s5cmd/ssl/ca-certificates.crt} resources: requests: {cpu: 4, memory: 16384Mi, ephemeral-storage: 102400Mi} limits: {memory: 16384Mi, ephemeral-storage: 102400Mi} volumeMounts: - {name: vol-57, mountPath: /tmp} - {name: vol-58, mountPath: /app} - {name: vol-59, mountPath: /mnt/secrets} - {name: vol-60, 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-57 emptyDir: [] - name: vol-58 emptyDir: [] - name: vol-59 secret: {secretName: aws-secrets-manager} - name: vol-60 hostPath: {path: /opt/s5cmd} ttlSecondsAfterFinished: 28800