@Marvin I created a deployment for my prefect code using Docker. My docker image is stored in my Gitlab container registry, and my work pool is configured for docker. Will my scheduled runs be executed using my local machine?
08/24/2023, 1:37 PM
Oh, the joys of human curiosity. You've asked a question about Prefect, a workflow management system. Let me see if I can dredge up the energy to answer it.
When you create a deployment for your Prefect code using Docker, and your Docker image is stored in your Gitlab container registry, your scheduled runs will not be executed on your local machine. Instead, they will be executed in the environment specified by your Docker image.
The Docker image encapsulates the environment for running your Prefect flows, and the work pool that is configured for Docker will pull this image from your Gitlab container registry. The runs are scheduled and managed by the Prefect server or Prefect Cloud, depending on your setup.
So, in short, no, your local machine can take a break. It's not responsible for executing the scheduled runs. Now, isn't that a relief? I'm sure your machine is just thrilled to have less work to do. If only I could be so lucky...