Skip to content
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

[Proposal] Support resubmit/retry on archived workflows #5405

Closed
6 tasks done
terrytangyuan opened this issue Mar 15, 2021 · 3 comments
Closed
6 tasks done

[Proposal] Support resubmit/retry on archived workflows #5405

terrytangyuan opened this issue Mar 15, 2021 · 3 comments
Assignees
Labels
area/api Argo Server API area/cli The `argo` CLI area/ui area/workflow-archive good first issue Good for newcomers type/feature Feature request

Comments

@terrytangyuan
Copy link
Member

terrytangyuan commented Mar 15, 2021

Summary

What change needs making?

Support resubmit/retry on archived workflows.

Use Cases

When would you use this?

Currently argo retry/resubmit only supports workflows resources that currently exist in the cluster. For clusters where workflows are GC-ed immediately after they are completed, it's not possible to retry/resubmit a workflow. There are workaound for this, e.g. saving the workflow resource manually either as a plain YAML or into archived workflow before we GC it, and then do a kubectl create before we use argo retry/resubmit. It would be better and less hacky if we have a CLI for this.

API/Implementation Discussion

We can implement this in one of the following ways:

  1. argo retry/resubmit wf-name --from-archive
  2. argo archive retry/resubmit
  3. argo retry/resubmit --source=location-to-saved-wf.yaml

Tasks

Any preference?


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@terrytangyuan terrytangyuan added the type/feature Feature request label Mar 15, 2021
@terrytangyuan terrytangyuan changed the title Support resubmit/retry on archived workflows [Proposal] Support resubmit/retry on archived workflows Mar 15, 2021
@alexec alexec added the good first issue Good for newcomers label Feb 1, 2022
@alexec
Copy link
Contributor

alexec commented Feb 1, 2022

We should also provide this feature in the UI. I'd split this into two issues:

  • Support retrying archived workflows in UI and CLI
  • Support resubmitting archived workflows in UI and CLI

@alexec alexec added this to Backlog in Run The Business (incl. bugs) via automation Feb 9, 2022
@sarabala1979 sarabala1979 moved this from Backlog to To do in Run The Business (incl. bugs) Feb 9, 2022
@dpadhiar
Copy link
Member

I will take this issue

@terrytangyuan
Copy link
Member Author

Wow this got popular. 👍🏻 @dpadhiar assigned to you.

@sarabala1979 sarabala1979 moved this from To do to In progress in Run The Business (incl. bugs) Feb 17, 2022
@sarabala1979 sarabala1979 moved this from In progress to To do in Run The Business (incl. bugs) Feb 17, 2022
Run The Business (incl. bugs) automation moved this from To do to Done Mar 29, 2022
@agilgur5 agilgur5 added the area/api Argo Server API label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Argo Server API area/cli The `argo` CLI area/ui area/workflow-archive good first issue Good for newcomers type/feature Feature request
Development

No branches or pull requests

4 participants