跳过 kubeflow 管道中失败的步骤并继续管道

时间:2021-07-19 13:03:10

标签: kubeflow-pipelines

有没有人有一个例子,如何处理管道中失败的步骤,即使在失败的步骤之后继续管道。 ExitHandler 只能执行最后一步,而我需要捕获任何可能的失败,即更像(伪代码)

step1 = comp_op1()
with dsl.Condition(even if step 1 failed)
 step2 = comp_op2()
 with dsl.Condition(even if step 2 failed)
   step3 = comp_op3()

有什么想法吗?

0 个答案:

没有答案
相关问题