Skip to content

Commit 3a44e65

Browse files
committed
[docs] added explanation how to run DPL tasks in k8s
1 parent 6aeae25 commit 3a44e65

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎docs/kubernetes_ecs.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ To deploy a Kubernetes task you can in principle reuse existing control-workflow
5151
with reusing existing manifests, for example bad quotation of arguments: Mesos runs tasks via shell, which interpreted and stripped quotation from commands. For this reason you can find ready-to-use manifests with all necessary changes
5252
inside `control-operator/ecs-manifests/control-workflows/*kube-direct*`.
5353

54+
### TaskTemplates
55+
56+
Since some tasks are deployed with known values ahead of time (image, env vars, ...), we added the `TaskTemplate` CR, which stores this data in the cluster so the user doesn't have to define everything every time. You can find all the `TaskTemplate`s in the `ecs-manifests/task-templates` folder. Currently we have templates for DPL, Readout, and StfBuilder/Sender. These templates must be applied to the cluster for the ECS bridge to work.
57+
58+
### DPL and JIT
59+
60+
DPL tasks work similarly to those mentioned before: they use `kubernetes_fairmq` in their workflow YAML manifests. However, there is a problem: JIT tasks' manifests are created the moment they are run. So for now you need to first run the workflow to generate those tasks, then change the control mode after they've been generated. This will be changed in the future.
61+
5462
## Running tasks (`KubectlTask`)
5563

5664
This method is obsoleted by direct ECS <-> Kubernetes bridge. However it should still work

0 commit comments

Comments
 (0)