Features
New commands for managing Argo Workflows through the CLI
This release includes new commands for managing workflows on Argo Workflows.
When needed, commands can be authorized by supplying a production token with --authorize
.
argo-workflows delete
A deployed workflow can be deleted through the CLI with
python flow.py argo-workflows delete
argo-workflows terminate
A run can be terminated mid-execution through the CLI with
python flow.py argo-workflows terminate RUN_ID
argo-workflows suspend/unsuspend
A run can be suspended temporarily with
python flow.py argo-workflows suspend RUN_ID
Note that the suspended flow will show up as failed on Metaflow-UI after a period, due to this also suspending the heartbeat process. Unsuspending will resume the flow and its status will show as running again. This can be done with
python flow.py argo-workflows unsuspend RUN_ID
Improvements
Faster Job completion checks for Kubernetes
Previously the status for tasks running on Kubernetes was determined through the pod status, which can take a while to update after the last container finishes. This release changes the status checks to use container statuses directly instead.
What's Changed
- Job completion check based on container status. by @shrinandj in #1369
- feature: add argo workflows suspend command by @saikonen in #1420
- feature: add delete and terminate for argo workflows by @saikonen in #1307
- Bump version to 2.9.7 by @saikonen in #1467
Full Changelog: 2.9.6...2.9.7