apiVersion: batch/v1
kind: Job
metadata:
name: nf-fb4a23f9e68c229dd73e363f69b648c2-a62be
namespace: nextflow
labels: &id001 {nextflow.io/processName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_PROBE_COUNTS,
nextflow.io/runName: somacnv-regression-ref-build, nextflow.io/sessionId: uuid-73c414a3-ea57-4fb3-9ee0-ae20fd8851ba,
pltf/run-name: somacnv-regression-ref-build, pltf/run-component: task, nextflow.io/app: nextflow,
nextflow.io/taskName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_PROBE_COUNTS_HCC1395_BL,
pltf/run-id: f9d59d00, 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":"somacnv-regression-ref-build","run_id":"f9d59d00","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
(HCC1395_BL)"}', karpenter.sh/do-not-disrupt: 'true'}
ownerReferences:
- {apiVersion: v1, kind: Pod, name: somacnv-regression-ref-build-f9d59d00-zxplc,
uid: e35ed88c-124d-4514-b32e-0ae3abb37d59, controller: true, blockOwnerDeletion: true}
spec:
backoffLimit: 0
template:
metadata:
name: nf-fb4a23f9e68c229dd73e363f69b648c2-a62be
namespace: nextflow
labels: *id001
annotations: *id002
spec:
restartPolicy: Never
containers:
- name: nextflow
image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/soma-cnv:20260603-050173b
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/fb/4a23f9e68c229dd73e363f69b648c2/.command.log||true;
exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/fb/4a23f9e68c229dd73e363f69b648c2/.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: 204800Mi}
limits: {memory: 32768Mi, ephemeral-storage: 204800Mi}
volumeMounts:
- {name: vol-13, mountPath: /app}
- {name: vol-14, mountPath: /tmp}
- {name: vol-15, mountPath: /mnt/secrets}
- {name: vol-16, 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-13
emptyDir: []
- name: vol-14
emptyDir: []
- name: vol-15
secret: {secretName: aws-secrets-manager}
- name: vol-16
hostPath: {path: /opt/s5cmd}
ttlSecondsAfterFinished: 28800