Matheus Rocha
04/26/2023, 6:35 PMdeployment.yaml
file is all empty as you can see on the 🧵
Is this file supposed to be filled with some informations such as work_pool?alex
04/26/2023, 7:08 PMprefect deploy
. This section of the docs provides an overview of the deployment.yaml
file when using a Prefect project: https://docs.prefect.io/latest/concepts/projects/#the-deployment-yaml-fileMatheus Rocha
04/26/2023, 7:09 PMprefect deploy alocacao/alocacao.py:main -n alocacao-deploy -p alocacao-work
Isn't this supposed to be enough to add the data inside deployment.yaml?alex
04/26/2023, 7:11 PMdeployment.yaml
when running prefect deploy
. Instead you would add those values yourself and commit them to source control.Matheus Rocha
04/26/2023, 7:15 PMalex
04/26/2023, 7:20 PMdeployment.yaml
file, or provide those values via the CLI.
yYes,Matheus Rocha
04/26/2023, 7:21 PMprefect deploy alocacao/alocacao.py:main -n alocacao-deploy -p alocacao-work
alex
04/26/2023, 7:24 PMdeployment.yaml
file, but if you provide the deployment name and entrypoint via the CLI, nothing is required in deployment.yaml
. The CLI options and the deployment.yaml
file values are used together to create a deployment.