Skip to content

Commit 35b334d

Browse files
author
arpechenin
committed
- fix ster description formatting
Signed-off-by: arpechenin <[email protected]>
1 parent 1759b86 commit 35b334d

File tree

1 file changed

+29
-23
lines changed
  • proposals/separate-standalone-driver

1 file changed

+29
-23
lines changed

proposals/separate-standalone-driver/README.md

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,35 @@ Resource availability problems: There's no guarantee the Kubernetes cluster has
2525

2626
Let's take a look at the copy of [hello_world.yaml](hello_world.yaml) generated by the argo compiler tests.
2727

28-
Execution Order:
29-
1. entrypoint
30-
Type: DAG
31-
The root DAG represents the entire pipeline run.
32-
2. root-driver (template: system-dag-driver)
33-
Type: Container
34-
Purpose: Initializes the root DAG. Creates an MLMD execution for the DAG.
35-
Outputs:
36-
execution-id – ID of the DAG execution (created during root-driver execution)
37-
38-
Tasks inside:
39-
- hello-world-driver (template: system-container-driver)
40-
Purpose: Check for the existence of an execution in the cache, if no prepare the MLMD execution of the hello-world container task, and generate the appropriate pod-spec-patch.
41-
Outputs:
42-
pod-spec-patch – patch for the system-container-executor pod; inserts the correct image and command for the main container.
43-
cached-decision – if true, the next step will be skipped
44-
- hello-world (template: system-container-executor)
45-
Depends on: hello-world-driver.Succeeded
46-
Purpose: Executes the hello-world component
47-
Inputs:
48-
pod-spec-patch — patch for the pod generated in the previous step
49-
cached-decision — used as a skip condition
50-
The system-container-executor template defines the main container that runs the user-defined code.
28+
**Execution Order:**
29+
30+
1. **entrypoint**
31+
*Type:* DAG
32+
The root DAG represents the entire pipeline run.
33+
34+
2. **root-driver** *(template: system-dag-driver)*
35+
*Type:* Container
36+
*Purpose:* Initializes the root DAG. Creates an MLMD execution for the DAG.
37+
**Outputs:**
38+
- `execution-id` – ID of the DAG execution (created during root-driver execution)
39+
40+
**Tasks inside:**
41+
42+
- **hello-world-driver** *(template: system-container-driver)*
43+
*Purpose:* Check for the existence of an execution in the cache. If it does not exist, prepare the MLMD execution of the hello-world container task, and generate the appropriate pod-spec-patch.
44+
**Outputs:**
45+
- `pod-spec-patch` – patch for the system-container-executor pod; inserts the correct image and command for the main container
46+
- `cached-decision` – if true, the next step will be skipped
47+
48+
- **hello-world** *(template: system-container-executor)*
49+
*Depends on:* `hello-world-driver.Succeeded`
50+
*Purpose:* Executes the hello-world component
51+
**Inputs:**
52+
- `pod-spec-patch` — patch for the pod generated in the previous step
53+
- `cached-decision` — used as a skip condition
54+
55+
The `system-container-executor` template defines the main container that runs the user-defined code.
56+
5157

5258
Overview of the Argo workflow node structure for the container-driver
5359
```yaml

0 commit comments

Comments
 (0)