File Info

Filename
.command.yaml
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/8a/b7abb6b33071fe115b7af283c5714a/.command.yaml
Size
3.9 KB
Attempt
apiVersion: batch/v1
kind: Job
metadata:
  name: nf-8ab7abb6b33071fe115b7af283c5714a-9b049
  namespace: nextflow
  labels: &id001 {nextflow.io/processName: DAQ_CONTROL_VARIANT_CALLING_CONTROL_GERMLINE_VC_BAM_VARIANT_CAL,
    nextflow.io/runName: gitlab-daq-build2794030-regression-run-63438371, capacityType: spot,
    pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: DAQ_CONTROL_VARIANT_CALLING_CONTROL_GERMLINE_VC_BAM_VARIANT_CAL,
    pltf/run-id: '653e9990', pltf/run-creator: svc-gitlab-ci, nextflow.io/sessionId: uuid-a6c47cd6-4854-439b-9320-3d91cf1d04bb,
    pltf/run-name: gitlab-daq-build2794030-regression-run-63438371, instanceMinCpuSpeedMhz: '2200',
    pltf/run-engine: nextflow, instanceLocalNvme: 'true'}
  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-daq-build2794030-regression-run-63438371","run_id":"653e9990","run_creator":"svc-gitlab-ci","run_component":"task","task_process":"DAQ:CONTROL_VARIANT_CALLING:CONTROL_GERMLINE_VC:BAM_VARIANT_CALLING_SENTIEON_HAPLOTYPER_RF:DIFF_DV_SENTIEON","task_name":"DAQ:CONTROL_VARIANT_CALLING:CONTROL_GERMLINE_VC:BAM_VARIANT_CALLING_SENTIEON_HAPLOTYPER_RF:DIFF_DV_SENTIEON
      (germline_control_1)"}', karpenter.sh/do-not-disrupt: 'true'}
  ownerReferences:
  - {apiVersion: v1, kind: Pod, name: gitlab-daq-build2794030-regression-run-63438371-653e9990-qlpjd,
    uid: bb934152-e61e-451b-9388-c199ab0dc151, controller: true, blockOwnerDeletion: true}
spec:
  backoffLimit: 0
  template:
    metadata:
      name: nf-8ab7abb6b33071fe115b7af283c5714a-9b049
      namespace: nextflow
      labels: *id001
      annotations: *id002
    spec:
      restartPolicy: Never
      containers:
      - name: nextflow
        image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/sentieon-haplotyper-rf-filter:1.0.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/8a/b7abb6b33071fe115b7af283c5714a/.command.log||true;
            exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/8a/b7abb6b33071fe115b7af283c5714a/.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: 1, memory: 6144Mi, ephemeral-storage: 51200Mi}
          limits: {memory: 6144Mi, ephemeral-storage: 51200Mi}
        volumeMounts:
        - {name: vol-1181, mountPath: /tmp}
        - {name: vol-1182, mountPath: /app}
        - {name: vol-1183, mountPath: /mnt/secrets}
        - {name: vol-1184, 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}
              - {key: eks.amazonaws.com/instance-local-nvme, operator: Exists}
              - key: eks.amazonaws.com/instance-cpu-sustained-clock-speed-mhz
                operator: Gt
                values: ['2200']
      serviceAccountName: sa-nextflow
      securityContext: {runAsUser: 1000}
      tolerations:
      - {key: workload, operator: Equal, value: nextflow-task, effect: NoSchedule}
      volumes:
      - name: vol-1181
        emptyDir: []
      - name: vol-1182
        emptyDir: []
      - name: vol-1183
        secret: {secretName: aws-secrets-manager}
      - name: vol-1184
        hostPath: {path: /opt/s5cmd}
  ttlSecondsAfterFinished: 28800