apiVersion: batch/v1
kind: Job
metadata:
name: nf-0da688b4a93e9f9ec232c20be4778d90-a663d
namespace: nextflow
labels: &id001 {nextflow.io/processName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_PROBE_COUNTS,
nextflow.io/runName: soma-cnv-ref-a237cfylt3-6a249096, nextflow.io/sessionId: uuid-b6dbbc53-2cf9-4a79-948a-b717613cc832,
pltf/run-name: soma-cnv-ref-a237cfylt3-6a249096, pltf/run-component: task, nextflow.io/app: nextflow,
nextflow.io/taskName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_PROBE_COUNTS_869_K8V-N1-BDNA,
pltf/run-id: '306527e4', pltf/run-engine: nextflow, pltf/run-creator: rsrivas}
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":"soma-cnv-ref-a237cfylt3-6a249096","run_id":"306527e4","run_creator":"rsrivas","run_component":"task","task_process":"SOMATIC_CNV_REF_BUILDER:SOMA_CNV_PROBE_COUNTS","task_name":"SOMATIC_CNV_REF_BUILDER:SOMA_CNV_PROBE_COUNTS
(869_K8V-N1-BDNA-1_A237CFYLT3_1)"}', karpenter.sh/do-not-disrupt: 'true'}
ownerReferences:
- {apiVersion: v1, kind: Pod, name: soma-cnv-ref-a237cfylt3-6a249096-306527e4-nzzwd,
uid: 38a16bb8-da4f-4c86-b8a3-ef585d4d8891, controller: true, blockOwnerDeletion: true}
spec:
backoffLimit: 0
template:
metadata:
name: nf-0da688b4a93e9f9ec232c20be4778d90-a663d
namespace: nextflow
labels: *id001
annotations: *id002
spec:
restartPolicy: Never
containers:
- name: nextflow
image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/soma-cnv:20260604-3cb5ec5
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/0d/a688b4a93e9f9ec232c20be4778d90/.command.log||true;
exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/0d/a688b4a93e9f9ec232c20be4778d90/.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: 16384Mi, ephemeral-storage: 102400Mi}
limits: {memory: 16384Mi, ephemeral-storage: 102400Mi}
volumeMounts:
- {name: vol-221, mountPath: /app}
- {name: vol-222, mountPath: /tmp}
- {name: vol-223, mountPath: /mnt/secrets}
- {name: vol-224, 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-221
emptyDir: []
- name: vol-222
emptyDir: []
- name: vol-223
secret: {secretName: aws-secrets-manager}
- name: vol-224
hostPath: {path: /opt/s5cmd}
ttlSecondsAfterFinished: 28800