File Info

Filename
.command.yaml
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/06/d3f9e280871dfa5816bcf07f538e2c/.command.yaml
Size
3.6 KB
Attempt
apiVersion: batch/v1
kind: Job
metadata:
  name: nf-06d3f9e280871dfa5816bcf07f538e2c-773fd
  namespace: nextflow
  labels: &id001 {nextflow.io/processName: NFCORE_SAREK_SAREK_BAM_QC_SEX_ESTIMATION_BAM_ESTIMATE_SEX,
    nextflow.io/runName: gitlab-sarek-build2797383-regression-run-63548394, nextflow.io/sessionId: uuid-391f401d-b4d7-4137-a261-da40c7a217a5,
    pltf/run-name: gitlab-sarek-build2797383-regression-run-63548394, capacityType: spot,
    pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: NFCORE_SAREK_SAREK_BAM_QC_SEX_ESTIMATION_BAM_ESTIMATE_SEX_HCC1,
    pltf/run-id: 12644f57, pltf/run-engine: nextflow, instanceLocalNvme: 'false',
    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-sarek-build2797383-regression-run-63548394","run_id":"12644f57","run_creator":"svc-gitlab-ci","run_component":"task","task_process":"NFCORE_SAREK:SAREK:BAM_QC_SEX_ESTIMATION:BAM_ESTIMATE_SEX","task_name":"NFCORE_SAREK:SAREK:BAM_QC_SEX_ESTIMATION:BAM_ESTIMATE_SEX
      (HCC1395_tumor)"}', karpenter.sh/do-not-disrupt: 'true'}
  ownerReferences:
  - {apiVersion: v1, kind: Pod, name: gitlab-sarek-build2797383-regression-run-63548394-12644f57l69kn,
    uid: 0e5760a5-d1a8-44c0-92ca-38f4b0bf9d1f, controller: true, blockOwnerDeletion: true}
spec:
  backoffLimit: 0
  template:
    metadata:
      name: nf-06d3f9e280871dfa5816bcf07f538e2c-773fd
      namespace: nextflow
      labels: *id001
      annotations: *id002
    spec:
      restartPolicy: Never
      containers:
      - name: nextflow
        image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/quay/biocontainers/samtools:1.21--h50ea8bc_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/06/d3f9e280871dfa5816bcf07f538e2c/.command.log||true;
            exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/06/d3f9e280871dfa5816bcf07f538e2c/.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: 204800Mi}
          limits: {memory: 4096Mi, ephemeral-storage: 204800Mi}
        volumeMounts:
        - {name: vol-53, mountPath: /tmp}
        - {name: vol-54, mountPath: /app}
        - {name: vol-55, mountPath: /mnt/secrets}
        - {name: vol-56, 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: 14400
      volumes:
      - name: vol-53
        emptyDir: []
      - name: vol-54
        emptyDir: []
      - name: vol-55
        secret: {secretName: aws-secrets-manager}
      - name: vol-56
        hostPath: {path: /opt/s5cmd}
  ttlSecondsAfterFinished: 28800