Home > Software design >  Argo workflow getting auto deleted after successful completion
Argo workflow getting auto deleted after successful completion

Time:11-16

My Argo setup is on GKE.

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.

I could not find any documentations around this. I'll be extremely grateful if you could share some pointers around this.

Note, this is happening only on GKE cluster. Running it on minikube doesn't reproduce this behaviour.

CodePudding user response:

https://argoproj.github.io/argo-workflows/fields/#ttlstrategy

Setting up ttlStrategy in my workflow/workflowTemplate spec solved this issue.

  • Related