apiVersion: batch/v1
kind: Job
metadata:
name: nf-5c1feac2325b19ff81fbb5c749ff2e47-a668f
namespace: nextflow
labels: &id001 {nextflow.io/processName: SOMATIC_CNV_CALLING_SOMA_CNV_CALL, nextflow.io/runName: nf-soma-cnv-inline11,
nextflow.io/sessionId: uuid-24457262-be95-47f8-8a30-2fdad28954bf, pltf/run-name: nf-soma-cnv-inline11,
pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: SOMATIC_CNV_CALLING_SOMA_CNV_CALL_1029_0I,
pltf/run-id: b51f1196, 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-inline11","run_id":"b51f1196","run_creator":"chnobles","run_component":"task","task_process":"SOMATIC_CNV_CALLING:SOMA_CNV_CALL","task_name":"SOMATIC_CNV_CALLING:SOMA_CNV_CALL
(1029_0I)"}', karpenter.sh/do-not-disrupt: 'true'}
ownerReferences:
- {apiVersion: v1, kind: Pod, name: nf-soma-cnv-inline11-b51f1196-qrvxr, uid: ca4e5a67-551d-42ef-ac4d-b0cad578734c,
controller: true, blockOwnerDeletion: true}
spec:
backoffLimit: 0
template:
metadata:
name: nf-5c1feac2325b19ff81fbb5c749ff2e47-a668f
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/5c/1feac2325b19ff81fbb5c749ff2e47/.command.log||true;
exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/5c/1feac2325b19ff81fbb5c749ff2e47/.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: 32768Mi, ephemeral-storage: 20480Mi}
limits: {memory: 32768Mi, ephemeral-storage: 20480Mi}
volumeMounts:
- {name: vol-157, mountPath: /app}
- {name: vol-158, mountPath: /tmp}
- {name: vol-159, mountPath: /mnt/secrets}
- {name: vol-160, 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-157
emptyDir: []
- name: vol-158
emptyDir: []
- name: vol-159
secret: {secretName: aws-secrets-manager}
- name: vol-160
hostPath: {path: /opt/s5cmd}
ttlSecondsAfterFinished: 28800