Skip to content

Commit 5756352

Browse files
authored
Merge pull request #134 from epics-containers/august-update
August update - review Essential Concepts and Intro pages
2 parents 0fa8e08 + 76c2567 commit 5756352

File tree

8 files changed

+80
-105
lines changed

8 files changed

+80
-105
lines changed

docs/explanations/introduction.md

Lines changed: 61 additions & 94 deletions
Large diffs are not rendered by default.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Update for February 2024
5656
The tutorials have now been updated. Recent changes include:
5757

5858
- epics-containers-cli has been renamed to edge-containers-cli. It now supports the deployment of general services as well as IOCs. It still has the entrypoint `ec` but the namespace `ioc` has been dropped and its functions are now in the root (e.g. `ec ioc deploy` is now `ec deploy`).
59-
- Improved CI for {any}`ec-services-repo`s and generic IOCs repos.
59+
- Improved CI for {any}`services-repo`s and generic IOCs repos.
6060
- copier template based creation of new beamline, accelerator and generic IOC repos.
6161
- This provides greatly improved ability to adopt updates to the template into your own repositories.
6262

docs/overview.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ There are 5 themes to this strategy:
1818
Source, container and helm repositories manage all of the above assets.
1919
No shared file systems required.
2020
21-
:Continuous Integration / Delivery:
22-
Source repositories automatically build containers and helm charts
23-
delivering them to OCI registries.
21+
:Continuous Integration / Deployment:
22+
Source repositories automatically build containers and helm charts,
23+
delivering them to OCI registries. Services repositories automatically deploy
24+
IOCs to Kubernetes clusters.
2425
```

docs/reference/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The CLI is just a thin wrapper around the underlying tools that do the real work
1616
:git: the git version control system client
1717
```
1818

19-
`ec` is useful because it saves typing and provides a consistent interface when working on multiple {any}`ec-services-repo` s. This is because it uses the environment setup by the beamline repo's `environment.sh` script. See {any}`environment`.
19+
`ec` is useful because it saves typing and provides a consistent interface when working on multiple {any}`services-repo` s. This is because it uses the environment setup by the beamline repo's `environment.sh` script. See {any}`environment`.
2020

2121
To see the available commands, run `ec --help`.
2222

docs/reference/glossary.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11

22
# Glossary
33

4-
(ec-services-repo)=
5-
## ec-services repository
4+
(services-repo)=
5+
## services repository
66

7-
A repository that contains the definitions for a group of IOC and service instances that are deployed in a Kubernetes cluster. The grouping of instances is up to the facility. At DLS the instances are grouped by beamline for beamline IOCs. Accelerator IOC groupings are by location or by technical domain as appropriate.
7+
A repository that contains the definitions for a group of IOCs instances and other services. The grouping of instances is up to the facility. At DLS the instances are grouped by beamline for beamline IOCs. Accelerator IOC groupings by technical domain as appropriate.
8+
9+
epics-containers supports two kinds of services repositories:
10+
11+
- **Kubernetes** services repositories. These are for deployment into a Kubernetes cluster. Each repositoriy contains a set of **Helm Charts** all of which will deploy into a single namespace in a single Kubernetes Cluster.
12+
- **Local Machine** services repositories. These are for deployment to a local machine using docker-compose. Each repository contains a set *compose.yaml* files that describe how to deploy a set of services to the local machine. These could potentially be used for production at a facility which does not use Kuberentes, but are primarily for development, testing and the earlier tutorials in this documenttation.
813

914
(edge-containers-cli)=
1015
## edge-containers-cli
1116

12-
A Python command line tool for the developer that runs *outside* of containers. It provides features for deploying and managing service and IOC instances within an [](ec-services-repo).
17+
A Python command line tool for the developer that runs *outside* of containers. It provides simple features for and monitoring and managing and IOC instances within a [](services-repo).
1318

1419
So named 'edge' containers because these services all run close to the hardware. Uses the command line entry point `ec`.
1520

docs/tutorials/create_beamline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Create a Beamline Repository
44

5-
In this tutorial we will create a new {any}`ec-services-repo`.
5+
In this tutorial we will create a new {any}`services-repo`.
66

77
All IOC Instances that we deploy will be grouped into repositories that define a set of IOC and service instances. Typically each beamline would have its own repository and the accelerator would be split by location or technical area.
88

docs/tutorials/dev_container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ frequency of change but increasing complexity):
1111
### Changing the IOC instance
1212

1313
This means making changes to the IOC instance folders
14-
which appear in the `iocs` folder of an {any}`ec-services-repo`. e.g.:
14+
which appear in the `iocs` folder of an {any}`services-repo`. e.g.:
1515

1616
- changing the EPICS DB (or the `ibek` files that generate it)
1717
- altering the IOC boot script (or the `ibek` files that generate it)

docs/tutorials/intro.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ some background in the following topics.
1313
================================================================ ================
1414
**An introduction to containers** https://www.docker.com/resources/what-container/
1515
**Managing containers on a workstation: introduction to docker** https://docs.docker.com/get-started/overview/
16+
**Introduction to docker compose** https://docs.docker.com/compose/
1617
**Podman, a recommended docker alternative** https://docs.podman.io/en/latest/Introduction.html
1718
**Orchestrating containers in a cluster with Kubernetes** https://kubernetes.io/docs/concepts/overview/
1819
**Managing packages in a Kubernetes Cluster with Helm** https://helm.sh/docs/intro/quickstart/
1920
**Introduction to EPICS** https://docs.epics-controls.org/en/latest/guides/EPICS_Intro.html
21+
**Argo CD continuous delpoyment for Kubernetes** https://argo-cd.readthedocs.io/en/stable/
2022
================================================================ ================
2123
```
2224

0 commit comments

Comments
 (0)