SantanM
01/17/2025, 12:36 PMMarvin
01/17/2025, 12:37 PMjob_configuration
section that can be interpolated with variables to customize execution environments. It acts as a contract for what can be configured per deployment or flow run, allowing deployment creators to adjust worker behavior. More details can be found in the work pools documentation.
2. Prefect Deployment YAML: This file (prefect.yaml
) is used to define and manage deployments, specifying the settings, procedural steps, and environment preparation instructions for executing a deployment. It can be initialized using the CLI command prefect init
and allows for structured deployment configurations. The prefect.yaml file is flexible, allowing overrides through CLI options when creating a deployment. More information can be found in the Prefect YAML documentation.
While they are related in the sense that both are used to configure and manage deployments, the base job template is more about worker-level execution details, whereas the prefect.yaml file is about overall deployment configuration.