<@ULVA73B9P> What is the prefect 3 version of this...
# ask-marvin
j
@Marvin What is the prefect 3 version of this command?
Copy code
prefect deployment build -sb "remote-file-system/your-storage-block-name" -n "Awesome MinIO deployment" -q "awesome" "flow.py:greetings"
m
In Prefect 3, the
prefect 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.
n
tldr its like
prefect deploy some/file.py:some_fn --pool my-work-pool
and then the work pool is basically like the infra block (stores infra config)
j
Thank you! I'll havea read of the above
👍 1
n
here are some examples if thats more your speed
j
Definitely, thank you again!
catjam 1