apiVersion: batch/v1
kind: Job
metadata:
name: nf-8551daaeef2dfd2604e13ff430c97179-73694
namespace: nextflow
labels: &id001 {nextflow.io/processName: NFCORE_SAREK_SAREK_BAM_CHIP_DETECTION_HARMONIZE_CHIP_CANDIDATES,
nextflow.io/runName: sarek-cgp-dna-exp0034-tools-20260605-212233, capacityType: spot,
pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: NFCORE_SAREK_SAREK_BAM_CHIP_DETECTION_HARMONIZE_CHIP_CANDIDATES,
pltf/run-id: b2a66efe, pltf/run-creator: sgreer, nextflow.io/sessionId: uuid-3867ff1b-e6ee-4ff6-b826-dda6aacc62a0,
pltf/run-name: sarek-cgp-dna-exp0034-tools-20260605-212233, instanceMinCpuSpeedMhz: '2200',
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":"sarek-cgp-dna-exp0034-tools-20260605-212233","run_id":"b2a66efe","run_creator":"sgreer","run_component":"task","task_process":"NFCORE_SAREK:SAREK:BAM_CHIP_DETECTION:HARMONIZE_CHIP_CANDIDATES:BCFTOOLS_NORM","task_name":"NFCORE_SAREK:SAREK:BAM_CHIP_DETECTION:HARMONIZE_CHIP_CANDIDATES:BCFTOOLS_NORM
(869_VZQ-N1-BDNA-1_A23FG3YLT4_1)"}', karpenter.sh/do-not-disrupt: 'true'}
ownerReferences:
- {apiVersion: v1, kind: Pod, name: sarek-cgp-dna-exp0034-tools-20260605-212233-b2a66efe-7t9rg,
uid: 574fd08f-e784-4309-95f1-ad7a7cc08046, controller: true, blockOwnerDeletion: true}
spec:
backoffLimit: 0
template:
metadata:
name: nf-8551daaeef2dfd2604e13ff430c97179-73694
namespace: nextflow
labels: *id001
annotations: *id002
spec:
restartPolicy: Never
containers:
- name: nextflow
image: community.wave.seqera.io/library/bcftools_htslib:0a3fa2654b52006f
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/85/51daaeef2dfd2604e13ff430c97179/.command.log||true;
exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/85/51daaeef2dfd2604e13ff430c97179/.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: 6, memory: 36864Mi, ephemeral-storage: 51200Mi}
limits: {memory: 36864Mi, ephemeral-storage: 51200Mi}
volumeMounts:
- {name: vol-3089, mountPath: /tmp}
- {name: vol-3090, mountPath: /app}
- {name: vol-3091, mountPath: /mnt/secrets}
- {name: vol-3092, 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: ['2200']
serviceAccountName: sa-nextflow
securityContext: {runAsUser: 1000}
tolerations:
- {key: workload, operator: Equal, value: nextflow-task, effect: NoSchedule}
activeDeadlineSeconds: 57600
volumes:
- name: vol-3089
emptyDir: []
- name: vol-3090
emptyDir: []
- name: vol-3091
secret: {secretName: aws-secrets-manager}
- name: vol-3092
hostPath: {path: /opt/s5cmd}
ttlSecondsAfterFinished: 28800