apiVersion: batch/v1
kind: Job
metadata:
name: nf-cd9c490774a6576a1ad55996d93ca689-97661
namespace: nextflow
labels: &id001 {nextflow.io/processName: NF_CANARY_TEST_VAL_INPUT, nextflow.io/runName: gitlab-nf-plugins-build2801985-canary-run-63693179,
nextflow.io/sessionId: uuid-6f54a48e-26ef-45ca-8931-5c7490129097, pltf/run-name: gitlab-nf-plugins-build2801985-canary-run-63693179,
pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: NF_CANARY_TEST_VAL_INPUT,
pltf/run-id: 10a73535, pltf/run-engine: nextflow, pltf/run-creator: svc-gitlab-ci}
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":"gitlab-nf-plugins-build2801985-canary-run-63693179","run_id":"10a73535","run_creator":"svc-gitlab-ci","run_component":"task","task_process":"NF_CANARY:TEST_VAL_INPUT","task_name":"NF_CANARY:TEST_VAL_INPUT"}',
karpenter.sh/do-not-disrupt: 'true'}
ownerReferences:
- {apiVersion: v1, kind: Pod, name: gitlab-nf-plugins-build2801985-canary-run-63693179-10a7353g5hr2,
uid: 1610770c-9e49-4ca6-82f1-21ad02ca59ae, controller: true, blockOwnerDeletion: true}
spec:
backoffLimit: 0
template:
metadata:
name: nf-cd9c490774a6576a1ad55996d93ca689-97661
namespace: nextflow
labels: *id001
annotations: *id002
spec:
restartPolicy: Never
containers:
- name: nextflow
image: artifactory.natera.com/dockerhub/ubuntu:24.04
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/cd/9c490774a6576a1ad55996d93ca689/.command.log||true;
exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/cd/9c490774a6576a1ad55996d93ca689/.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: 1, memory: 4096Mi, ephemeral-storage: 20480Mi}
limits: {memory: 4096Mi, ephemeral-storage: 20480Mi}
volumeMounts:
- {name: vol-21, mountPath: /tmp}
- {name: vol-22, mountPath: /app}
- {name: vol-23, mountPath: /mnt/secrets}
- {name: vol-24, 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-21
emptyDir: []
- name: vol-22
emptyDir: []
- name: vol-23
secret: {secretName: aws-secrets-manager}
- name: vol-24
hostPath: {path: /opt/s5cmd}
ttlSecondsAfterFinished: 28800