argoproj / argo-workflows

Workflow Engine for Kubernetes
https://argo-workflows.readthedocs.io/
Apache License 2.0
15.11k stars 3.21k forks source link

daemon containers don't support retry strategy #13705

Closed MenD32 closed 1 month ago

MenD32 commented 1 month ago

Summary

daemon containers should be able to retry in order to ensure the stability of the workflow

Use Cases


Message from the maintainers:

Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.

MenD32 commented 1 month ago

I'd also like to contribute to solve this issue

MenD32 commented 1 month ago

after looking at the code, i think a better fix would be to amend retry policy because of the createWorkflowPod function, which is kinda huge.

the something like retryStrategy: always

which i might add, doesn't work currently on daemon containers, from my testing

agilgur5 commented 1 month ago

This seems to duplicate https://github.com/argoproj/argo-workflows/issues/5833.

This also would have to handle the difference between the Controller intentionally killing it at the end vs it dying on its own