v2.12 and after
When you run a workflow, the controller will report on its progress.
We define progress as two numbers,
N/M such that
0 <= N <= M and 0 <= M.
Nis the number of completed tasks.
Mis the total number of tasks.
Unlike estimated duration, progress is deterministic. I.e. it will be the same for each workflow, regardless of any problems.
Progress for each node is calculated as follows:
- For a pod node either
1/1if completed or
- For non-leaf nodes, the sum of its children.
For a whole workflow's, progress is the sum of all its leaf nodes.
M will increase during workflow run each time a node is added to the graph.