Skip to content

Commit 169e898

Browse files
author
Michal Tichák
committed
[operator] addressing unadressed
1 parent e14c7a6 commit 169e898

File tree

5 files changed

+6
-105
lines changed

5 files changed

+6
-105
lines changed

control-operator/ecs-manifests/kubernetes-ecs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ There are 3 subfolders inside `ecs-manifests`, namely `control-workflows`, `kube
1212
In order to run given task from ECS you need to provide yaml template normally contained inside the `ControlWorkflows`
1313
repository that is processed by ECS core and sent to Mesos framework that runs the given task on a given agent.
1414
Inside the folder you can find files with suffixes `docker`, `kube`, `orig` appended to the name of the task they
15-
are representing. These files are to be put into the `ControlWorkflows` so ECS can find those and run task
15+
are representing. These files are to be put into the `ControlWorkflows/tasks` so ECS can find those and run task
1616
in proper way. Eg. if one is to run readout in Kubernetes copy (or symlink) `readout-kube.yaml` into the `ControlWorkflows`
1717
directory under the name `readout.yaml` (same for the other tasks)
1818

control-operator/ecs-manifests/kubernetes-manifests/readout-test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ spec:
1313
- name: readout
1414
image: gitlab-registry.cern.ch/aliceo2group/dockerfiles/alma9-flp-node:2
1515
command: ["/opt/o2/bin/o2-readout-exe"]
16-
args: ["consul-ini://mtichak-ost.cern.ch:8500/o2/components/readout/ANY/any/readout-stfb-mtichak-ost"]
16+
# setup proper uri for your test case change this part
17+
args: ["consul-ini://localhost:8500/o2/components/readout/ANY/any/readout-stfb-mtichak-ost"]
1718
securityContext:
1819
privileged: true
1920
runAsUser: 1100
@@ -27,6 +28,7 @@ spec:
2728
value: "31000"
2829
- name: O2_SYSTEM
2930
value: "flp"
31+
# it might be necessary to change the role for your use case
3032
- name: O2_ROLE
3133
value: "mtichak"
3234
volumeMounts:

control-operator/ecs-manifests/kubernetes-manifests/stfsender-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ spec:
1515
command: ["/bin/bash"]
1616
args:
1717
- "-c"
18+
# you might need to change mtichak from args to your usecase change this part
1819
- "numactl --cpunodebind=0 --preferred=0 -- /opt/o2/bin/StfSender --session=default --shm-segment-id=2 --shm-segment-size=33554432 --dd-region-size=4096 --dd-region-id=3536 --transport=shmem --input-channel-name=buildertosender --severity=info --severity-infologger=info --monitoring-backend='influxdb-unix:///tmp/telegraf.sock' --monitoring-process-interval='5' --discovery-partition=31RUSxZ7k1x --discovery-id=stfs-mtichak-ost-31RUSxf3h9L --discovery-endpoint=no-op:// --discovery-net-if=ib0 --stand-alone --shm-monitor=false --id 31RUSy3JBLN -S $CONTROL_OCCPLUGIN_ROOT/lib/ -P OCClite --color false --control-port 31002"
1920
securityContext:
2021
privileged: true
@@ -29,6 +30,7 @@ spec:
2930
value: "31002"
3031
- name: O2_SYSTEM
3132
value: "flp"
33+
# it might be necessary to change the role for your use case
3234
- name: O2_ROLE
3335
value: "mtichak"
3436
volumeMounts:

control-operator/exampletask-test.yaml

Lines changed: 0 additions & 69 deletions
This file was deleted.

control-operator/exampletask.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)