apiVersion: batch/v1 kind: Job metadata: name: nf-dcda6a453cb3e8ab21e2aa16a8c8fbf8-cd9e9 namespace: nextflow labels: &id001 {nextflow.io/processName: SOMATIC_CNV_CALLING_SOMA_CNV_NORMALIZE, nextflow.io/runName: nf-soma-cnv-inline10, nextflow.io/sessionId: uuid-7c97a1dd-7393-4597-a065-1bb07b2d611d, pltf/run-name: nf-soma-cnv-inline10, pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: SOMATIC_CNV_CALLING_SOMA_CNV_NORMALIZE_1029_0W2-N1-BDNA-1_B23K, pltf/run-id: c00d8913, 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-inline10","run_id":"c00d8913","run_creator":"chnobles","run_component":"task","task_process":"SOMATIC_CNV_CALLING:SOMA_CNV_NORMALIZE","task_name":"SOMATIC_CNV_CALLING:SOMA_CNV_NORMALIZE (1029_0W2-N1-BDNA-1_B23KGCJLT4_1)"}', karpenter.sh/do-not-disrupt: 'true'} ownerReferences: - {apiVersion: v1, kind: Pod, name: nf-soma-cnv-inline10-c00d8913-2rbb6, uid: ae791e7f-30ab-4262-b9f5-3ec848840866, controller: true, blockOwnerDeletion: true} spec: backoffLimit: 0 template: metadata: name: nf-dcda6a453cb3e8ab21e2aa16a8c8fbf8-cd9e9 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/dc/da6a453cb3e8ab21e2aa16a8c8fbf8/.command.log||true; exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/dc/da6a453cb3e8ab21e2aa16a8c8fbf8/.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: 2, memory: 8192Mi, ephemeral-storage: 20480Mi} limits: {memory: 8192Mi, ephemeral-storage: 20480Mi} volumeMounts: - {name: vol-117, mountPath: /tmp} - {name: vol-118, mountPath: /app} - {name: vol-119, mountPath: /mnt/secrets} - {name: vol-120, 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-117 emptyDir: [] - name: vol-118 emptyDir: [] - name: vol-119 secret: {secretName: aws-secrets-manager} - name: vol-120 hostPath: {path: /opt/s5cmd} ttlSecondsAfterFinished: 28800