How to set a backup node? #5393
Answered
by
terrytangyuan
austinguish
asked this question in
Q&A
-
Hi, everyone. When I set a DAG with the argo-workflows, I have a question that how to set a node as a backup when some nodes dead(get some errors). |
Beta Was this translation helpful? Give feedback.
Answered by
terrytangyuan
Mar 14, 2021
Replies: 1 comment 1 reply
-
Exit handlers might be what you need, see an example here. You can reference the status of nodes in a variable |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
terrytangyuan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exit handlers might be what you need, see an example here. You can reference the status of nodes in a variable
{{workflow.status}}
as part of thewhen
condition. There are also examples to do this at either step or DAG level: