File Info

Filename
.command.yaml
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/9b/d6eadd551c20ce573518a391a7cad6/.command.yaml
Size
3.3 KB
Attempt
apiVersion: batch/v1
kind: Job
metadata:
  name: nf-9bd6eadd551c20ce573518a391a7cad6-1560b
  namespace: nextflow
  labels: &id001 {nextflow.io/processName: SENTIEON_ALIGN_QC, nextflow.io/runName: anjain-main-nf-260605t043809,
    nextflow.io/sessionId: uuid-bde0b7e1-c3e3-463a-ad53-9a05915791db, pltf/run-name: anjain-main-nf-260605t043809,
    pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: SENTIEON_ALIGN_QC_test_sample_1,
    pltf/run-id: dbf07d03, pltf/run-engine: nextflow, pltf/run-creator: anjain}
  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":"anjain-main-nf-260605t043809","run_id":"dbf07d03","run_creator":"anjain","run_component":"task","task_process":"SENTIEON_ALIGN_QC","task_name":"SENTIEON_ALIGN_QC
      (test_sample_1)"}', karpenter.sh/do-not-disrupt: 'true'}
  ownerReferences:
  - {apiVersion: v1, kind: Pod, name: anjain-main-nf-260605t043809-dbf07d03-zjd9m,
    uid: 3172f5e1-aef0-4868-9eb6-7229f85b0b6d, controller: true, blockOwnerDeletion: true}
spec:
  backoffLimit: 0
  template:
    metadata:
      name: nf-9bd6eadd551c20ce573518a391a7cad6-1560b
      namespace: nextflow
      labels: *id001
      annotations: *id002
    spec:
      restartPolicy: Never
      containers:
      - name: nextflow
        image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/nextflow-pipeline-template/sentieon:latest
        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/9b/d6eadd551c20ce573518a391a7cad6/.command.log||true;
            exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/9b/d6eadd551c20ce573518a391a7cad6/.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: 8, memory: 24576Mi, ephemeral-storage: 51200Mi}
          limits: {memory: 24576Mi, ephemeral-storage: 51200Mi}
        volumeMounts:
        - {name: vol-9, mountPath: /app}
        - {name: vol-10, mountPath: /tmp}
        - {name: vol-11, mountPath: /mnt/secrets}
        - {name: vol-12, 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}
      activeDeadlineSeconds: 3600
      volumes:
      - name: vol-9
        emptyDir: []
      - name: vol-10
        emptyDir: []
      - name: vol-11
        secret: {secretName: aws-secrets-manager}
      - name: vol-12
        hostPath: {path: /opt/s5cmd}
  ttlSecondsAfterFinished: 28800