magnificent-addition-17114
05/20/2022, 4:02 AMflytectl --help
, it says that you can delete tasks,worfklows.
delete Terminates/deletes various Flyte resources such as tasks, workflows, launch plans, executions, and projects.
But in the available command of delete
, I don't see an option to actually delete tasks or workflows.
Usage:
flytectl delete [command]
Available Commands:
cluster-resource-attribute Deletes matchable resources of cluster attributes.
execution Terminates/deletes execution resources.
execution-cluster-label Deletes matchable resources of execution cluster label.
execution-queue-attribute Deletes matchable resources of execution queue attributes.
plugin-override Deletes matchable resources of plugin overrides.
task-resource-attribute Deletes matchable resources of task attributes.
workflow-execution-config Deletes matchable resources of workflow execution config.
freezing-airport-6809
flytectl update task -d development -p flytectldemo core.advanced.run_merge_sort.merge --archive
https://docs.flyte.org/projects/flytectl/en/latest/gen/flytectl_update_workflow-meta.html
flytectl update workflow -p flytectldemo -d development core.advanced.run_merge_sort.merge_sort --archive
magnificent-addition-17114
05/20/2022, 5:06 AMfreezing-airport-6809
magnificent-teacher-86590
05/25/2022, 8:53 PMERRO[0000] unknown flag: --archive
the actual command i tried is this
flytectl update workflow -p balrog -d development balrog.workflows.bcl2bam.bcl2fastq_workflow.bcl2fastq_workflow --archive
im using the latest flytectl v0.5.28
it looks syntactically same as in the example in the docmagnificent-teacher-86590
05/25/2022, 8:54 PMmagnificent-teacher-86590
05/25/2022, 8:59 PMworkflow-meta
i think above page needs to be updated on the first 2 example 😅
https://docs.flyte.org/projects/flytectl/en/latest/gen/flytectl_update_workflow-meta.html