apiVersion: batch/v1
kind: Job
metadata:
name: nf-f7b341eb8d99bde8c0fffcef462ff3ed-a4b78
namespace: nextflow
labels: &id001 {nextflow.io/processName: MIX_BAMS, nextflow.io/runName: nipt-mix-40pairs-ff05-ff10-stutter-6a21ceda,
nextflow.io/sessionId: uuid-e63eb196-d323-4235-848b-273fd5fae8e5, pltf/run-name: nipt-mix-40pairs-ff05-ff10-stutter-6a21ceda,
pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: MIX_BAMS_HG01956_x_HG01978_FF_5,
pltf/run-id: 6fb76b70, pltf/run-engine: nextflow, pltf/run-creator: tdouglas}
ownerReferences:
- {apiVersion: v1, kind: Pod, name: nipt-mix-40pairs-ff05-ff10-stutter-6a21ceda-6fb76b70-kdj5x,
uid: 1eb8555c-b04d-4d90-815f-4efc0acfb0b0, controller: true, blockOwnerDeletion: true}
spec:
backoffLimit: 0
template:
metadata:
name: nf-f7b341eb8d99bde8c0fffcef462ff3ed-a4b78
namespace: nextflow
labels: *id001
spec:
restartPolicy: Never
containers:
- name: nextflow
image: quay.io/biocontainers/samtools:1.23.1--ha83d96e_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/f7/b341eb8d99bde8c0fffcef462ff3ed/.command.log||true;
exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/f7/b341eb8d99bde8c0fffcef462ff3ed/.command.run
| bash 2>&1 | tee .command.log']
workingDir: /tmp
imagePullPolicy: Always
env:
- {name: SSL_CERT_DIR, value: /opt/s5cmd/ssl/certs}
- {name: SSL_CERT_FILE, value: /opt/s5cmd/ssl/ca-certificates.crt}
resources:
requests: {cpu: 4, memory: 16384Mi, ephemeral-storage: 204800Mi}
limits: {memory: 16384Mi, ephemeral-storage: 204800Mi}
volumeMounts:
- {name: vol-101, mountPath: /tmp}
- {name: vol-102, mountPath: /app}
- {name: vol-103, mountPath: /mnt/secrets}
- {name: vol-104, mountPath: /opt/s5cmd}
nodeSelector: {karpenter.sh/capacity-type: spot}
serviceAccountName: sa-nextflow
securityContext: {runAsUser: 1000}
tolerations:
- {key: workload, operator: Equal, value: nextflow-task, effect: NoSchedule}
activeDeadlineSeconds: 28800
volumes:
- name: vol-101
emptyDir: []
- name: vol-102
emptyDir: []
- name: vol-103
secret: {secretName: aws-secrets-manager}
- name: vol-104
hostPath: {path: /opt/s5cmd}
ttlSecondsAfterFinished: 28800