From b676e32d33a665affb9b27202cb1638bce63105b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Tich=C3=A1k?= Date: Thu, 26 Nov 2026 18:21:15 +0100 Subject: [PATCH] [docs] Description of current pure k8s workfloads on pure k8s clusters --- docs/kubernetes_ecs.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/kubernetes_ecs.md b/docs/kubernetes_ecs.md index 87a95bc1..f085f8a3 100644 --- a/docs/kubernetes_ecs.md +++ b/docs/kubernetes_ecs.md @@ -69,6 +69,19 @@ Since some tasks are deployed with known values ahead of time (image, env vars, DPL tasks work similarly to those mentioned before: they use `kubernetes_fairmq` in their workflow YAML manifests. JIT tasks are different, as their manifests are generated by DPL the moment the workflow is run, always with control mode `fairmq`. To run them on Kubernetes, set the environment variable `jit_k8s_enabled` to `true` (requires `enableKubernetes` in core). The JIT workflow is then generated under the name `jit-k8s-` instead of `jit-`, and core switches the control mode of its tasks to `kubernetes_fairmq` when loading them. All JIT tasks are deployed using the shared `dpl` TaskTemplate. +### Clusters without Mesos agents + +ECS can run workflows purely on Kubernetes, e.g. in the Kubernetes lab (see the `kubernetes` role in `system-configuration`), where only a Mesos master runs on the head node, without any Mesos agents. However, all tasks of such workflow have to be deployed to Kubernetes. If any enabled task is still deployed via Mesos (its control mode is not `kubernetes_direct` or `kubernetes_fairmq`), the deployment of the whole environment gets stuck, and so do all following deployments until core is restarted (see [OCTRL-1117](https://its.cern.ch/jira/browse/OCTRL-1117)). + +Even simple Readout and Data Distribution workflows (`readout-dataflow`) run FairMQ shared memory cleanup tasks (`fairmq-shmcleanup` using `shell-command` and `fairmq-shmmonitor`), which are not containerised yet. Until they are, disable them by adding the following to the ECS advanced configuration: + +```json +{ + "fmq_initial_shm_cleanup_enabled": "false", + "fmq_cleanup_enabled": "false" +} +``` + ## Running tasks (`KubectlTask`) This method is obsoleted by direct ECS <-> Kubernetes bridge. However it should still work