我如何以编程方式确定a job是否已经失败并且不再重试?我在失败的工作中看到了以下内容:
status:
conditions:
- lastProbeTime: 2018-04-25T22:38:34Z
lastTransitionTime: 2018-04-25T22:38:34Z
message: Job has reach the specified backoff limit
reason: BackoffLimitExceeded
status: "True"
type: Failed
Run Code Online (Sandbox Code Playgroud)
但是,文档没有解释为什么conditions是列表.可以有多种条件吗?如果是这样,我依赖哪一个?是否保证只有一个status: "True"?
| 归档时间: |
|
| 查看次数: |
2486 次 |
| 最近记录: |