104 lab:
• Create and run a deployment that uses a Prefect Managed work pool that you’ve created.
• Use flow code stored in your own GitHub repository with a deployment.
• Pause and resume the work pool from the UI.
• Stretch 1: bake your flow code into a Docker image with .deploy().
• Don’t push the image to a remote repository (or do log in and push it to DockerHub).
Don’t forget to:
• Start Docker on your machine
• pip install -U prefect-docker
• Make a Docker work pool
• Start a Docker type worker that polls the pool
• Stretch 2: create a push work pool with provision-infra and use it in a deployment.
• Stretch 3: add an environment variable to a work pool and use it.
f
Fabio Teichmann
02/14/2024, 2:49 PM
I got lots of these messages for the docker work pool worker:
Copy code
| ERROR | GlobalEventLoopThread | prefect._internal.concurrency - Service 'EventsWorker' failed with 2 pending items.