-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FlyteCTL Feature] Schedule ergonomics #3109
Comments
I'm all for these commands:
Latest:
Deactivate all launch plans [at a specific version]:
What I'm struggling with is the
Some open questions:
|
BTW Flytectl register file has an option to enable schedules which are getting registered and this will activate the version which is being registered and deactivate the rest versions belonging to the same launchplan
|
Related |
I am adding a new |
many other features can be added to pyflyte launchplan, much faster to iterate |
Improve scheduled workflow handling
Poor UX currently
There's a few ux issues around how scheduled workflows are handled today.
--set-active
or some option).As background info: For a given project, domain, and launch plan name, only one version can be "active" at any given time. Activating one version will deactivate the others.
New flytectl commands
Both of these can be addressed through flytectl. Proposal is to add some new commands
(not attached to the names of the commands here, just as examples)
activate-latest [--remove-old]
For all workflows, find the latest version. For each workflow at said version, activate all launchplans. This will automatically deactivate all other versions. If the
remove-old
switch is specified, then launch plans pointing to each workflow, but do not have a version matching the workflow's latest version, will also be deactivated.activate --version <v>
Activate all launch plans for a project/domain at a given version if it exists.
deactivate-all
Deactivate all launch plans across a project domain. I think this is helpful for ensuring that nothing is
Docs
We also need to improve documentation around how handling of schedules should work in prod.
Misc
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: