Reputation: 75
Tried Argo Workflow template with both timeout and activeDeadlineSeconds and this template also has retryStrategy. In both case, timeout are applied for each run but I want entire template should timeout within mentioned time. How to achieve this? Please comment in case the question is not clear.
kind: WorkflowTemplate
.
.
spec:
templates:
-name: taskA
activeDeadlineSeconds :30
retryStrategy:
limit: 2
.....
In this, all retry in case of timeout runs for 30sec each. But I wanted the entire workflowTemplate to timeout after 30 sec. Not 90sec. Is there any reference for this?
Upvotes: 1
Views: 2094
Reputation: 75
Thanks got it. activeDeadlineSeconds can be used directly under spec: outside templates: level to achieve this.
Upvotes: 0
Reputation: 11
activeDeadlineSeconds
can also be used in the Workflow/WorkflowTemplate level, see an example here.
Upvotes: 1