File Info

Filename
.command.yaml
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/9d/4725022cfa93899fe2dd9cd477c2c4/.command.yaml
Size
3.4 KB
Attempt
apiVersion: batch/v1
kind: Job
metadata:
  name: nf-9d4725022cfa93899fe2dd9cd477c2c4-8d073
  namespace: nextflow
  labels: &id001 {nextflow.io/processName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_PROBE_COUNTS,
    nextflow.io/runName: soma-cnv-ref-a23mhw3lt4-6a249096, nextflow.io/sessionId: uuid-4c065f2f-cf02-4d67-a596-b3ca2e01d43a,
    pltf/run-name: soma-cnv-ref-a23mhw3lt4-6a249096, pltf/run-component: task, nextflow.io/app: nextflow,
    nextflow.io/taskName: SOMATIC_CNV_REF_BUILDER_SOMA_CNV_PROBE_COUNTS_1029_V9X-N1-BDNA,
    pltf/run-id: 2d93662e, pltf/run-engine: nextflow, pltf/run-creator: rsrivas}
  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":"soma-cnv-ref-a23mhw3lt4-6a249096","run_id":"2d93662e","run_creator":"rsrivas","run_component":"task","task_process":"SOMATIC_CNV_REF_BUILDER:SOMA_CNV_PROBE_COUNTS","task_name":"SOMATIC_CNV_REF_BUILDER:SOMA_CNV_PROBE_COUNTS
      (1029_V9X-N1-BDNA-1_A23MHW3LT4_1)"}', karpenter.sh/do-not-disrupt: 'true'}
  ownerReferences:
  - {apiVersion: v1, kind: Pod, name: soma-cnv-ref-a23mhw3lt4-6a249096-2d93662e-jc9x4,
    uid: 3f71f2a1-dd1d-4547-814f-781d913e6225, controller: true, blockOwnerDeletion: true}
spec:
  backoffLimit: 0
  template:
    metadata:
      name: nf-9d4725022cfa93899fe2dd9cd477c2c4-8d073
      namespace: nextflow
      labels: *id001
      annotations: *id002
    spec:
      restartPolicy: Never
      containers:
      - name: nextflow
        image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/soma-cnv:20260604-3cb5ec5
        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/9d/4725022cfa93899fe2dd9cd477c2c4/.command.log||true;
            exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/9d/4725022cfa93899fe2dd9cd477c2c4/.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: 4, memory: 16384Mi, ephemeral-storage: 102400Mi}
          limits: {memory: 16384Mi, ephemeral-storage: 102400Mi}
        volumeMounts:
        - {name: vol-165, mountPath: /app}
        - {name: vol-166, mountPath: /tmp}
        - {name: vol-167, mountPath: /mnt/secrets}
        - {name: vol-168, 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-165
        emptyDir: []
      - name: vol-166
        emptyDir: []
      - name: vol-167
        secret: {secretName: aws-secrets-manager}
      - name: vol-168
        hostPath: {path: /opt/s5cmd}
  ttlSecondsAfterFinished: 28800