You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E.g. argo cron run cron-wf-1. This will allow users to run CronWorkflows on demand and out of schedule.
Note: Since the cron CLI currently only manipulates CronWorkflow resources, we may not want to use it to submit a Workflow directly.
Options to implement this:
Use argo cron run cron-wf-1. Implement by Geting the CronWorkflow resource, converting it to a Workflow object and calling util.SubmitWorkflow(...) directly from the CLI.
Use argo cron run cron-wf-1. Implement by setting a flag in the CronWorkflow resource intended to instruct the cron controller to run the CronWorkflow immediately, after which the flag is reset to its resting state.
Use argo submit --from=CronWorkflow/cron-wf-1. Implement by Geting the CronWorkflow resource, converting it to a Workflow object and calling util.SubmitWorkflow(...). Probably least desirable option because it would require adding the CronWorkflowInterface to the root command.
The text was updated successfully, but these errors were encountered:
E.g.
argo cron run cron-wf-1
. This will allow users to run CronWorkflows on demand and out of schedule.Note: Since the
cron
CLI currently only manipulatesCronWorkflow
resources, we may not want to use it to submit a Workflow directly.Options to implement this:
argo cron run cron-wf-1
. Implement byGet
ing the CronWorkflow resource, converting it to a Workflow object and callingutil.SubmitWorkflow(...)
directly from the CLI.argo cron run cron-wf-1
. Implement by setting a flag in the CronWorkflow resource intended to instruct the cron controller to run the CronWorkflow immediately, after which the flag is reset to its resting state.argo submit --from=CronWorkflow/cron-wf-1
. Implement byGet
ing the CronWorkflow resource, converting it to a Workflow object and callingutil.SubmitWorkflow(...)
. Probably least desirable option because it would require adding theCronWorkflowInterface
to the root command.The text was updated successfully, but these errors were encountered: