---
pipeline:
  name: tempSpecificDepthLakes_padded_timeseries_analyzer
transform:
  # image_pull_secrets:
  # - battelleecology-quay-read-all-pull-secret
  image: us-central1-docker.pkg.dev/neon-shared-service/neonscience/neon-is-padded-ts-analyzer:v1.0.0
  cmd:
  - /bin/bash
  stdin:
  - "#!/bin/bash"
  - python3 -m padded_timeseries_analyzer.padded_timeseries_analyzer.padded_timeseries_analyzer_main
  env:
    OUT_PATH: /pfs/out
    # ERR_PATH can be changed, it is user specified
    ERR_PATH: errored_datums
    LOG_LEVEL: INFO
    RELATIVE_PATH_INDEX: '3'
input:
  pfs:
    name: DATA_PATH
    repo: tempSpecificDepthLakes_timeseries_padder
    branch: master
    glob: /tchain/*/*/*
parallelism_spec:
  constant: 1
resource_requests:
  memory: 300M
  cpu: 0.1
autoscaling: true
scheduling_spec:
  node_selector:
    cloud.google.com/gke-ephemeral-storage-local-ssd: "true"
    nodepool.neonscience.org/pipeline: "yes"
    cloud.google.com/gke-spot: "true"
pod_spec: |-
  { "tolerations": [
    {
      "key": "nodepool.neonscience.org/pipeline",
      "operator": "Exists"
    },
    {
      "effect": "NoSchedule",
      "key": "cloud.google.com/gke-spot",
      "operator": "Exists"
    }  
  ] }
pod_patch: |-
  [
    { "op": "replace",
      "path":"/containers/1/resources/requests/memory",
      "value":"400M"
    },
    { "op": "replace",
      "path": "/containers/1/resources/requests/cpu",
      "value": "0.3"
    }
  ]
