Skip to content

Commit f4fcf4a

Browse files
committed
reformat RTEMS IOC Instance
1 parent 3c63fb3 commit f4fcf4a

File tree

1 file changed

+37
-7
lines changed

1 file changed

+37
-7
lines changed

docs/user/tutorials/rtems_ioc.rst

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,44 @@ Edit the file
130130

131131
.. code-block:: yaml
132132
133-
If you are not at DLS you will need to change the above to match the
134-
parameters of your RTEMS IOC. The environment variables are:
133+
base_image: ghcr.io/epics-containers/ioc-template-rtems-runtime:23.4.2
134+
135+
env:
136+
# This is used to set EPICS_IOC_ADDR_LIST in the liveness probe client
137+
# It is only needed if auto addr list discovery would fail
138+
- name: K8S_IOC_ADDRESS
139+
value: 172.23.250.15
140+
141+
# RTEMS console connection details
142+
- name: RTEMS_VME_CONSOLE_ADDR
143+
value: ts0001.cs.diamond.ac.uk
144+
- name: RTEMS_VME_CONSOLE_PORT
145+
value: "7007"
146+
- name: RTEMS_VME_AUTO_REBOOT
147+
value: true
148+
- name: RTEMS_VME_AUTO_PAUSE
149+
value: true
135150
136-
:K8S_IOC_ADDRESS: The IP address of the IOC (mot-/dev/enet0-cipa above)
137-
:RTEMS_VME_CONSOLE_ADDR: Address of terminal server for console access
138-
:RTEMS_VME_CONSOLE_PORT: Port of terminal server for console access
139-
:RTEMS_VME_AUTO_REBOOT: true to reboot the hard IOC when the IOC container changes
140-
:RTEMS_VME_AUTO_PAUSE: true to pause/unpause when the IOC container stops/starts
151+
If you are not at DLS you will need to change the above to match the
152+
parameters of your RTEMS Crate. The environment variables are:
153+
154+
155+
.. list-table:: RTEMS Environment Variables
156+
:widths: 30 70
157+
:header-rows: 1
158+
159+
* - Variable
160+
- Description
161+
* - K8S_IOC_ADDRESS
162+
- The IP address of the IOC (mot-/dev/enet0-cipa above)
163+
* - RTEMS_VME_CONSOLE_ADDR
164+
- Address of terminal server for console access
165+
* - RTEMS_VME_CONSOLE_PORT
166+
- Port of terminal server for console access
167+
* - RTEMS_VME_AUTO_REBOOT
168+
- true to reboot the hard IOC when the IOC container changes
169+
* - RTEMS_VME_AUTO_PAUSE
170+
- true to pause/unpause when the IOC container stops/starts
141171

142172
Edit the file ``iocs/bl01t-ea-ioc-02/Chart.yaml`` and change the 1st 4 lines
143173
to represent this new IOC (the rest of the file is boilerplate):

0 commit comments

Comments
 (0)