hello, i would like to ask about additional resour...
# prefect-kubernetes
y
hello, i would like to ask about additional resource request when a flow pod is launching. based on conversation with nate previously it is possible to specify the job manifest in deployment prefect.yaml file. However, when i do that, it does not register the extra ephemeral storage that i specified in
kubectl describe pod
(it got registered in the deployment infra_overwrite tab). This is my deployment file:
Copy code
deployment
- name: transcription
  version:
  tags: []
  description:
  schedule: {}
  flow_name:
  entrypoint: flows/transcription/whisper_incremental_transcribe_flow.py:whisper_transcribe_flow
  parameters: {}
  work_pool:
    name: k8
    work_queue_name:
    job_variables:
      image: "xxxx.dkr.ecr.eu-central-1.amazonaws.com/datascience/prefect-agent-ml:0.1.0-1691635680"
      job_manifest:
        spec:
          containers:
            resources:
              requests:
                ephemeral-storage: 2Gi
                memory: 4Gi
                cpu: 0.5
              limits:
                ephemeral-storage: 4Gi
                memory: 6Gi
                cpu: 1
            volumeMounts:
              - name: ephemeral
                mountPath: "/tmp"
          volumes:
            - name: ephemeral
              emptyDir:
                sizeLimit: 500Mi
really appreciate the help here, really couldn’t find it anywhere in the documentation