Good day All,
I would like to canvas opinion on the viability of the concept of Generic IOCs.
At DLS, we have been working on moving our IOCs to Kubernetes for a while. Part of our approach is to use the concept of Generic IOCs for our container images as follows:
-
We build all the support for a given class of device into a single container image. This 'Generic IOC' has an IOC binary but no startup script or EPICS DB.
-
An IOC instance is a pointer to a Generic IOC image plus enough information to generate the startup script and DB at runtime.
So this means that we have a
generic version of epics base built into a container image and then one generic IOC container image based upon that for each device. In none of these are any site specific changes made, all the source we use is upstream and untouched (with one or two small
exceptions for compilers to work in our base OS).
The intention is that these Generic IOCs are viable for use in any facility that chooses
to use containers to deploy its IOCs (using any container runtime that is OCI compliant).
Is this a bad idea? are there site specific options that cannot be avoided, and cannot
be applied at runtime?
Any thoughts much appreciated.
Regards,
giles
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
|