File Info

Filename
.command.yaml
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/6b/2488bdfb2bcfc31213aad18e259d1a/.command.yaml
Size
3.3 KB
Attempt
apiVersion: batch/v1
kind: Job
metadata:
  name: nf-6b2488bdfb2bcfc31213aad18e259d1a-a4d54
  namespace: nextflow
  labels: &id001 {nextflow.io/processName: NF_CANARY_TEST_MV_FOLDER_CONTENTS, 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_MV_FOLDER_CONTENTS,
    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_MV_FOLDER_CONTENTS","task_name":"NF_CANARY:TEST_MV_FOLDER_CONTENTS"}',
    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-6b2488bdfb2bcfc31213aad18e259d1a-a4d54
      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/6b/2488bdfb2bcfc31213aad18e259d1a/.command.log||true;
            exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/6b/2488bdfb2bcfc31213aad18e259d1a/.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-37, mountPath: /tmp}
        - {name: vol-38, mountPath: /app}
        - {name: vol-39, mountPath: /mnt/secrets}
        - {name: vol-40, 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-37
        emptyDir: []
      - name: vol-38
        emptyDir: []
      - name: vol-39
        secret: {secretName: aws-secrets-manager}
      - name: vol-40
        hostPath: {path: /opt/s5cmd}
  ttlSecondsAfterFinished: 28800