argoproj / argo-workflows

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

When offloading env, ConfigMap already existing error is not handled #13755

Closed fyp711 closed 1 month ago

fyp711 commented 1 month ago

Pre-requisites

What happened?

if workflow pod used offload envVarTemplate, when pod create failed, and a transient error occurred. The pod will retry on moment, then this node will failed with IsAlreadyExists error. image

What did you expect to happen?

we should process the AlreadyExists error

Version(s)

main

Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.

None

Logs from the workflow controller

None

Logs from in your workflow's wait container

None