Pooyan
11/16/2023, 5:40 PMMarvin
11/16/2023, 5:41 PMprefect deploy --all
, or deploy them individually by name with prefect deploy -n <flow-name>
.
5. Once the deployments are successfully created, you can run them from the Prefect UI or via the Prefect API.
To start a worker on your laptop, open a new terminal and confirm that your virtual environment has Prefect installed. Run the following command in this new terminal to start the worker: prefect work
.
For more detailed instructions, you can refer to the Prefect documentation on Kubernetes deployment and working with workers.