datamongus
09/01/2023, 4:42 PMNate
09/01/2023, 5:24 PMFROM prefecthq/prefect:2-latest
RUN pip install -r requirements.txt
and docker build
that and push
it to some registry that you can set as the image
on your k8s work pool (or as a deployment-level override of the image
field on the k8s work pool like this)
alternatively (this would be my production recommendation), you can avoid pulling latest
(which can be risky) and have an image pipeline in your CI that builds FROM
static prefect image tags you know are okay and pushes to a static image tag in your registry - so that way you can update prefect image tags in your CI as you verify that our releases are working for you without having to update your work pool image
every time you do soNate
09/01/2023, 5:26 PMdatamongus
09/02/2023, 11:12 AMBring 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.
Powered by