cannot create a deployment with build and push set to
False
? When doing so, Prefect throws an error as follows -
Copy code
ValueError: Work pool 'test-pool' does not support custom Docker images. Please use a work pool with an `image` variable in its base job template.
This may be a design choice but to me it looks like a inconsistency when compared with
prefect.yaml
way of creating a deployment. I would like to understand the nuance of the design choice made and would be grateful if someone can explain this? Also, is there a way of creating a deployment for ProcessWorker using the python API by just mentioned the pull action policy?
k
Kevin Grismore
07/22/2024, 10:24 AM
you should be able to do this if you upgrade to the latest release, pointing to a process work pool and not providing an image
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.