Skip to content

Commit d7d50a3

Browse files
committed
further updates to introduction pages
1 parent afc2308 commit d7d50a3

File tree

7 files changed

+46
-249
lines changed

7 files changed

+46
-249
lines changed

docs/user/index.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,14 @@ side-bar.
1515

1616
tutorials/intro
1717
tutorials/setup_workstation
18-
tutorials/devcontainer
19-
tutorials/epics_devcontainer
20-
tutorials/setup_k8s
2118
tutorials/create_beamline
2219
tutorials/deploy_example
2320
tutorials/ioc_changes
2421
tutorials/generic_ioc
2522
tutorials/debug_generic_ioc
2623
tutorials/test_generic_ioc
2724
tutorials/support_module
25+
tutorials/setup_k8s
2826
tutorials/rtems_setup
2927
tutorials/rtems_ioc
3028
tutorials/ibek

docs/user/reference/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Answers:
3333
How can I do IOC rollback if the internet is down?
3434
--------------------------------------------------
3535
The examples all use cloud registries for storing the Generic IOC images and
36-
IOC instance Helm Charts. However it is still possible to roll back an IOC
36+
IOC instances. However it is still possible to roll back an IOC
3737
version when the internet is not available.
3838

3939
That is because Helm keeps track of several versions of each chart it

docs/user/tutorials/create_beamline.rst

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ Create a Beamline Repository
55

66
In this tutorial we will create a new beamline source repository.
77

8-
All IOCs that we deploy to the cluster will be grouped into domains and each
9-
domain will have its own repository for the source code of the IOC instances
10-
that it contains.
8+
All IOC Instances that we deploy will be grouped into domains and each
9+
domain will have its own repository which defines those Instances.
10+
Typically each beamline would have its own domain and
11+
the accelerator would be split into a few functional domains.
1112

12-
In the case of Beamlines, the domain is the beamline itself. Here
13+
In the case of Beamlines, the domain named after the beamline itself. At DLS
1314
we use the naming convention ``blxxc`` where ``xx`` is the beamline number,
1415
and c is the class of beamline. For example ``bl01t`` is the beamline 1,
15-
type test.
16+
type ``test``.
1617

1718
.. note::
1819

@@ -22,14 +23,19 @@ type test.
2223

2324
In this tutorial we will create the test beamline repository ``bl01t``.
2425
When the project ``bl01t`` is pushed to GitHub, continuous integration will
25-
generate helm charts for each IOC instance it defines
26-
and push them to your GitHub account's OCI registry.
26+
verify that each of the IOCs in the beamline are valid by launching them
27+
with basic configuration.
28+
29+
Each of these instances will be using a
30+
Generic IOC image. Ideally the CI for each Generic IOC should have already run
31+
system tests against simulated hardware. (this is something we aspire to
32+
using simulated hardware provided by `Tickit <https://github.com/dls-controls/tickit>`_)
2733

2834
The beamline will come with a single example IOC and further steps in the
2935
following tutorials will teach you how to add your own.
3036

3137
For accelerator domains the approach described here will be identical. The
32-
only difference is that IOCs are split by domain rather than by beamline.
38+
only difference is that IOC repos are split by domain rather than by beamline.
3339
A different naming convention will be used for accelerator domains (to be
3440
determined).
3541

docs/user/tutorials/devcontainer.rst

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

docs/user/tutorials/epics_devcontainer.rst

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

docs/user/tutorials/setup_k8s.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
.. _setup_kubernetes:
22

3+
34
Setup a Kubernetes Server
45
=========================
56

7+
.. Warning ::
8+
9+
This information is out of date. It will be updated soon.
10+
611
.. Note::
712

813
**DLS Users**: DLS already has the test cluster Pollux and further
@@ -136,11 +141,6 @@ If you do have separate workstation then edit the file .kube/config replacing
136141
127.0.0.1 with your server's IP Address. For a single machine the file is left
137142
as is.
138143

139-
Note that in the previous step `devcontainer-configure`
140-
you already configured the environment variable
141-
``KUBECONFIG`` to point to the cluster configuration file at
142-
``~/.kube/config``.
143-
144144

145145
Create an epics IOCs namespace and context
146146
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

docs/user/tutorials/setup_workstation.rst

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,17 @@ devcontainer in the next tutorial.
7474

7575

7676
Next install docker or podman as the your container platform. epics-containers
77-
has been tested with podman 4.4.1 on RedHat 8, and docker is also be supported.
78-
If you are using docker, simply replace ``podman`` with ``docker`` in the commands.
79-
80-
The podman version required is 4.0 or later. This is not easy to obtain on debian
81-
distributions at the time of writing, but details of how to compile from source
82-
are contained
83-
`in this Dockerfile <https://github.com/epics-containers/dev-e7/blob/main/docker/Dockerfile>`_
84-
under the heading ``Stage to add a recent podman client``
85-
77+
has been tested with podman 4.4.1 on RedHat 8, and the current version of Docker
78+
for Ubuntu 22.04.
79+
If you are using docker, simply replace ``podman`` with ``docker`` in the
80+
commands listed in these tutorials.
81+
82+
The podman version required is 4.0 or later. Any version of docker since 20.10
83+
will also work. Pick the tool that has the most recent version for your platform.
84+
RedHat 8 and above have recent podman versions. Debian platforms don't yet
85+
have recent podman versions available. If you have a choice then podman is
86+
preferred because it does not require root access and it is the tool with
87+
which epics-containers has had the most testing.
8688

8789
The links below have details of how to install your choice of container platform:
8890

@@ -96,3 +98,17 @@ CLI tools by clicking on the appropriate linux distribution link.
9698
.. _Install docker: https://docs.docker.com/engine/install/
9799
.. _Install podman: https://podman.io/getting-started/installation
98100

101+
Kubernetes
102+
----------
103+
104+
The following tutorials will take you through creating, deploying and
105+
debugging IOC instances, generic IOCs and support modules.
106+
107+
For simplicity we don't encourage using Kubernetes at this stage. Instead we
108+
will deploy containers to the local workstations docker or podman instance.
109+
110+
However, everything in these tutorials would also work with Kubernetes. If you
111+
are particularly interested in Kubernetes then you can jump to
112+
`setup_kubernetes` and follow the instructions there. Then come back to this
113+
point and continue with the tutorials.
114+

0 commit comments

Comments
 (0)