Mike B
04/16/2024, 12:48 AMMarvin
04/16/2024, 12:49 AMprefect.yaml
for mounting a volume to a container in the Prefect documentation excerpts provided. However, Prefect provides support for configuring your deployment's runtime environment, including infra-specific fields, such as job_variables
. It's possible that volumes may need to be configured through the infrastructure configuration tied to a deployment, by specifying the appropriate settings for the environment or the orchestration system you're using.
Since there isn't a straightforward mention, you might want to look into storage blocks within Prefect, which serve as the foundation for storage configuration and might be relevant depending on what kind of volumes you're trying to mount (e.g., local filesystem, AWS S3 storage, etc.).
You can review the details of your deployment configurations in the prefect.yaml
file. To get more specific guidance, you might want to check the documentation for deploying flows or refer to the concepts of storage in Prefect to see if those sections are more helpful. To find specific instructions for your use case, you might want to consider details regarding the orchestration tool you're using with Prefect (such as Kubernetes) and whether it requires a custom block or job variable configuration.