Carlos Cueto
10/26/2023, 7:37 PMprefect.yaml
file to define all my deployments... I have one question in terms of best practices... if defining a deployment schedule
is a requirement in the prefect.yaml
file, what is the point of editing a schedule through the UI? The UI changes won't be kept in-sync with the prefect.yaml file, because if I ever do a re-deployment of the same deployment, it will override the UI schedule with whatever is on the file.Nate
10/26/2023, 8:14 PMschedule
should not be required for your deployments in your prefect.yaml
. can you share the issue you ran into when not defining a schedule for your deployment?Carlos Cueto
10/26/2023, 8:33 PMNate
10/26/2023, 9:00 PMschedule
field entirely, then you'd keep your UI-configured schedule, but that appears to not be the case
i don't see any open issues about this, but would you be willing to open an enhancement ticket for this?
i'm imagining that if certain deployment fields are omitted from the deployment definition in the prefect.yaml
but they exist in the deployment on the server, then the values in the fields that exist should remain (schedule, in this case) - does that sound like the behavior you want to see?Carlos Cueto
10/26/2023, 9:02 PMNate
10/26/2023, 9:04 PMschedule
in the prefect.yaml
so that whenever you deploy, the UI already shows the schedule you want for that deployment?Carlos Cueto
10/26/2023, 9:07 PMNate
10/26/2023, 9:08 PMCarlos Cueto
10/27/2023, 1:57 PM