Krystal
01/31/2024, 5:13 PMMarvin
01/31/2024, 5:13 PMbash
prefect deployment build -n <DEPLOYMENT_NAME> -q <WORK_QUEUE_NAME> -t <TAGS> <PATH_TO_FLOW_FILE>:<FLOW_NAME>
2. Apply the deployment: After building your deployment, you'll get a YAML file which you can use to create or update the deployment:
bash
prefect deployment apply <PATH_TO_YAML_FILE>
For the local process work pool:
3. Run a local agent: You need a Prefect agent running on your local machine that will poll the designated work queue for scheduled flow runs. You can start a local agent with:
bash
prefect agent start <WORK_QUEUE_NAME>
These steps allow you to deploy your flow and have it executed locally using the worker that is polling the specified work queue.
For more detailed instructions, please refer to the Prefect documentation and guides.
Would you like assistance with any specific part of the deployment process, or do you require more detailed steps?