@Marvin is there an argument for the flow.deploy() function in the Python library to specify the target platform for docker to build the image for?
e.g.
hello.deploy(
name="my-deployment",
_work_pool_name_="my-eks",
image="accid.dkr.ecr.eu-west-1.amazonaws.com/image:latest",
platform ??
)
m
Marvin
03/21/2025, 10:46 AM
It seems there's no direct argument in the
flow.deploy()
function to specify the target platform for Docker to build the image. However, Prefect allows for flexibility in deployment configurations, and you might need to handle platform specifications outside of Prefect using Docker's own capabilities or by configuring your infrastructure accordingly.
For more details on using Docker with Prefect, you might want to explore their Docker infrastructure examples.
If you have further questions about your specific deployment scenario, feel free to ask!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.