4 ms·
Does Argo support recovery? In the sense that if a workflow step or the workflow engine crashes halfway, the last (idempotent) action is retried?
by stpedgwdgfhgdd 8y ago
Does Argo support recovery? In the sense that if a workflow step or the workflow engine crashes halfway, the last (idempotent) action is retried?
- devedlee 8y agoThe latest Argo release (https://github.com/argoproj/argo/releases https://github.com/argoproj/argo/releases) supports resubmitting workflows with "memoized" steps.
- jessesuen 8y agoI work on argo. The workflow-controller is very tolerant to crashes and designed to be this way. Workflow state is captured in the workflow CRD object (in k8s etcd). Because step names are formulated, in the event of a crash (say before the created pod is persisted in etcd), when the controller restarts and tries to schedule the pod again, it hits an AlreadyExists error and understands how to handle this. Thus, workflows are idempotent in crash scenarios.