0

I used this line o get the failed pods: workflow.failures , so I would like to get the same info about the nodes that have finished successfully. Is there a command to get the information about the ones that ended correctly??. I'm using Argo 3

4

1 回答 1

1

没有workflow.nodes 全局变量。但是,如果您具有 kubectl 访问权限以获取工作流的 JSON 表示,则可以获取有关已执行节点的信息。

kubectl get wf my-workflow -ojson | jq '.status.nodes
于 2021-09-03T14:12:54.573 回答