Jonny
10/17/2024, 7:58 PMprefect deployment build -sb "remote-file-system/your-storage-block-name" -n "Awesome MinIO deployment" -q "awesome" "flow.py:greetings"
Marvin
10/17/2024, 7:59 PMprefect deployment build
command is no longer included. The approach to deploying flows has evolved, and Prefect 3 introduces several changes and improvements over Prefect 2.x.
For storage, in Prefect 3, dependencies and storage configuration have been centralized through improvements in block management and infrastructure setups, though specific documentation detailing equivalents to the remote-file-system
storage block is not immediately visible from current sources. You might need to explore the updated infrastructure and block management sections in the Prefect documentation to find exact configurations that match your needs.
Prefect 3 aims to maintain backward compatibility with most Prefect 2 workflows, but the specific command you are referring to may need reconfiguration in prefect.yaml or through other infrastructure management tools in newer deployments.
For the most precise guidance on building and deploying with Prefect 3, it would be best to refer to the Prefect 3 upgrade guidelines and the new block management concepts.
If you require an exact CLI replacement, consider checking out Prefect GitHub discussions or opening an issue there to get more detailed examples and assistance.Nate
10/17/2024, 8:00 PMprefect deploy some/file.py:some_fn --pool my-work-pool
and then the work pool is basically like the infra block (stores infra config)Nate
10/17/2024, 8:01 PMJonny
10/17/2024, 8:04 PMNate
10/17/2024, 8:09 PMJonny
10/17/2024, 8:13 PM