<p>My Argo setup is on GKE.</p>
<p>What I observed is after a successful completion of a workflow, it's getting auto deleted. However, if a workflow fails, the workflow and all the node pods remain in the cluster.</p>
<p>I could not find any documentations around this. I'll be extremely grateful if you could share some pointers around this.</p>
<p>Note, this is happening only on GKE cluster. Running it on minikube doesn't reproduce this behaviour.</p>

<p><a href="https://argoproj.github.io/argo-workflows/fields/#ttlstrategy" rel="nofollow noreferrer">https://argoproj.github.io/argo-workflows/fields/#ttlstrategy</a></p>
<p>Setting up ttlStrategy in my workflow/workflowTemplate spec solved this issue.</p>
