Closed plasorak closed 11 months ago
So for a bit more context, what this is doing:
LD_LIBRARY_PATH
etc if RTE is found.tee
for the daq_application logs, so that they are available in kubectl
AND in the log file).The RTE script stands for Run time environment script. It sets up all the environment (PATH
, LD_LIBRARY_PATH
, PYTHON_PATH
and other DUNEDAQ specifics) to be able to execute daq_application. So it's like setting up your dbt_workarea_env
and saving all your environment variables in a script.
Tested this in conjunction with daqconf/plasorak/entrypoint and rte runs without the need for rte flag in the config file.
Mounting:
And making use of the RTE script when provided (or trying to figure it out).
Unfortunately this requires a change in the configuration to work fully with k8s because the entry point is not correct :(