File Info

Filename
.command.yaml
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/43/d7d3da4e8afc9d206317d7d8e04cd2/.command.yaml
Size
3.8 KB
Attempt
apiVersion: batch/v1
kind: Job
metadata:
  name: nf-43d7d3da4e8afc9d206317d7d8e04cd2-b5cbc
  namespace: nextflow
  labels: &id001 {nextflow.io/processName: DAQ_CONTROL_METRICS_NEGATIVE_SOMATIC_METRICS_NEGATIVE_SOMATIC_S,
    nextflow.io/runName: gitlab-daq-build2793809-regression-run-63434792, capacityType: spot,
    pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: DAQ_CONTROL_METRICS_NEGATIVE_SOMATIC_METRICS_NEGATIVE_SOMATIC_S,
    pltf/run-id: f65d224b, pltf/run-creator: svc-gitlab-ci, nextflow.io/sessionId: uuid-e8cd09ab-eae2-4f5d-b0b1-4584bf4ce6b3,
    pltf/run-name: gitlab-daq-build2793809-regression-run-63434792, 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-build2793809-regression-run-63434792","run_id":"f65d224b","run_creator":"svc-gitlab-ci","run_component":"task","task_process":"DAQ:CONTROL_METRICS:NEGATIVE_SOMATIC_METRICS:NEGATIVE_SOMATIC_SNV_INDEL","task_name":"DAQ:CONTROL_METRICS:NEGATIVE_SOMATIC_METRICS:NEGATIVE_SOMATIC_SNV_INDEL
      (negative_somatic_control_2)"}', karpenter.sh/do-not-disrupt: 'true'}
  ownerReferences:
  - {apiVersion: v1, kind: Pod, name: gitlab-daq-build2793809-regression-run-63434792-f65d224b-hwr26,
    uid: 8916080f-c34f-4f26-a389-2bb76985d8ac, controller: true, blockOwnerDeletion: true}
spec:
  backoffLimit: 0
  template:
    metadata:
      name: nf-43d7d3da4e8afc9d206317d7d8e04cd2-b5cbc
      namespace: nextflow
      labels: *id001
      annotations: *id002
    spec:
      restartPolicy: Never
      containers:
      - name: nextflow
        image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/daq/control_metrics:1.0.4
        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/43/d7d3da4e8afc9d206317d7d8e04cd2/.command.log||true;
            exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/43/d7d3da4e8afc9d206317d7d8e04cd2/.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-11937, mountPath: /tmp}
        - {name: vol-11938, mountPath: /app}
        - {name: vol-11939, mountPath: /mnt/secrets}
        - {name: vol-11940, 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-11937
        emptyDir: []
      - name: vol-11938
        emptyDir: []
      - name: vol-11939
        secret: {secretName: aws-secrets-manager}
      - name: vol-11940
        hostPath: {path: /opt/s5cmd}
  ttlSecondsAfterFinished: 28800