apiVersion: batch/v1
kind: Job
metadata:
name: nf-fee7cd868c468cf783e947fa15bb1504-4a240
namespace: nextflow
labels: &id001 {nextflow.io/processName: NFCORE_RNAFUSION_RNAFUSION_SAMTOOLS_VIEW_ALIGNMENT_CRAM,
nextflow.io/queue: Nextflow-OnDemand, nextflow.io/runName: cgp_rna_exp0034_73d51683,
capacityType: spot, pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: NFCORE_RNAFUSION_RNAFUSION_SAMTOOLS_VIEW_ALIGNMENT_CRAM_dna_s7,
pltf/run-id: 67c30e32, pltf/run-creator: anaik, nextflow.io/sessionId: uuid-fff52061-f714-4c14-bb2c-bf5549840817,
pltf/run-name: cgp_rna_exp0034_73d51683, instanceMinCpuSpeedMhz: '3200', pltf/run-engine: nextflow,
instanceLocalNvme: 'true'}
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":"cgp_rna_exp0034_73d51683","run_id":"67c30e32","run_creator":"anaik","run_component":"task","task_process":"NFCORE_RNAFUSION:RNAFUSION:SAMTOOLS_VIEW_ALIGNMENT_CRAM","task_name":"NFCORE_RNAFUSION:RNAFUSION:SAMTOOLS_VIEW_ALIGNMENT_CRAM
(dna_s760)"}', karpenter.sh/do-not-disrupt: 'true'}
ownerReferences:
- {apiVersion: v1, kind: Pod, name: cgp-rna-exp0034-73d51683-67c30e32-8xfbk, uid: 3e60d67d-4daf-4027-a41f-5033cc92500e,
controller: true, blockOwnerDeletion: true}
spec:
backoffLimit: 0
template:
metadata:
name: nf-fee7cd868c468cf783e947fa15bb1504-4a240
namespace: nextflow
labels: *id001
annotations: *id002
spec:
restartPolicy: Never
containers:
- name: nextflow
image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/biocontainers/samtools:1.17--h00cdaf9_0
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/fe/e7cd868c468cf783e947fa15bb1504/.command.log||true;
exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/fe/e7cd868c468cf783e947fa15bb1504/.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: 2048Mi, ephemeral-storage: 102400Mi}
limits: {memory: 2048Mi, ephemeral-storage: 102400Mi}
volumeMounts:
- {name: vol-3777, mountPath: /app}
- {name: vol-3778, mountPath: /tmp}
- {name: vol-3779, mountPath: /mnt/secrets}
- {name: vol-3780, 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}
- {key: eks.amazonaws.com/instance-local-nvme, operator: Exists}
- key: eks.amazonaws.com/instance-cpu-sustained-clock-speed-mhz
operator: Gt
values: ['3200']
serviceAccountName: sa-nextflow
securityContext: {runAsUser: 1000}
tolerations:
- {key: workload, operator: Equal, value: nextflow-task, effect: NoSchedule}
activeDeadlineSeconds: 14400
volumes:
- name: vol-3777
emptyDir: []
- name: vol-3778
emptyDir: []
- name: vol-3779
secret: {secretName: aws-secrets-manager}
- name: vol-3780
hostPath: {path: /opt/s5cmd}
ttlSecondsAfterFinished: 28800