diff --git a/docs/proposals/2170-kubeflow-training-v2/README.md b/docs/proposals/2170-kubeflow-training-v2/README.md index ba82633a18..e5cc4bcfd9 100644 --- a/docs/proposals/2170-kubeflow-training-v2/README.md +++ b/docs/proposals/2170-kubeflow-training-v2/README.md @@ -990,6 +990,12 @@ stateDiagram-v2 Completed=True --> [*] ``` +In the above state transition, the `Created=False` will happen in the following situations and +those different situations can be identified by the condition reasons (`.status.conditions.[type="Created"].reason`). + +- `JobsBuildFailed`: When the TrainJob controller failed to construct objects (resources) using the [runtime framework interfaces](../../../pkg/runtime.v2/framework/interface.go) +- `JobsCreationFailed`: When the TrainJob controller succeeded to construct objects, but it failed to deploy objects to the cluster. + Additionally, we extend the [runtime framework interfaces](../../../pkg/runtime.v2/framework/interface.go) to allow each plugin to propagate the arbitrary conditions to the TrainJob.