Skip to content

Commit 466afe1

Browse files
committed
tidy explanations and readme
1 parent 5a2d0ed commit 466afe1

File tree

12 files changed

+65
-47
lines changed

12 files changed

+65
-47
lines changed

CONTRIBUTING.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
Contributing
22
============
33

4-
Contributions and issues are most welcome! All issues and pull requests for
4+
Contributions and issues are most welcome!
5+
6+
For general comments and ideas please use the `Wiki`_
7+
8+
All issues and pull requests for
59
the documentation or for the ideas expressed in the epics-containers
6-
organization are handled through github on the `k8s-epics-docs repository`_.
10+
organization are handled in the `epics-containers.github.io repository`_.
711

8-
Report issues for generic iocs etc. in their own repos.
12+
Please report issues for generic iocs etc. in their own source repos.
913

10-
.. _k8s-epics-docs repository: https://github.com/epics-containers/epics-containers.github.io/issues
14+
.. _Wiki: https://github.com/epics-containers/k8s-epics-utils/wiki
15+
.. _epics-containers.github.io repository: https://github.com/epics-containers/epics-containers.github.io/issues
1116

1217
Running the tests
1318
-----------------

README.rst

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ epics-containers
33

44
|docs_ci| |license|
55

6-
epics-containers is an experimental GitHub organizaion to try out ideas
6+
epics-containers is an experimental GitHub organization to try out ideas
77
for managing EPICS IOCs in a Kubernetes cluster.
88

9+
Please contribute with comments and suggestions in the wiki or issues pages:
10+
911
============== ==============================================================
10-
Organization https://github.com/epics-containers
1112
Documentation https://epics-containers.github.io
13+
Wiki https://github.com/epics-containers/epics-containers.github.io/wiki
14+
Issues https://github.com/epics-containers/epics-containers.github.io/issues
1215
Docs Source https://github.com/epics-containers/epics-containers.github.io
16+
Organization https://github.com/epics-containers
1317
============== ==============================================================
1418

1519

@@ -22,15 +26,21 @@ Docs Source https://github.com/epics-containers/epics-containers.github.io
2226
:alt: Apache License
2327

2428

25-
**TODO** include a nice diagram and brief overview
29+
Overview
30+
========
2631

32+
.. include:: overview.rst
2733

28-
*Placeholder:*
34+
This diagram shows how the assets combine to create a running IOC on a
35+
Kubernetes worker node.
2936

3037
.. image:: images/example.png
3138
:width: 1500px
3239
:align: center
3340

41+
- The Helm Chart defines an IOC instance: IMAGE + STARTUP SCRIPT + K8S DEPLOYMENT​
42+
- The entire definition of the P45 beamline is held in https://github.com/orgs/epics-containers/packages
43+
3444
..
3545
Anything below this line is used when viewing README.rst and will be replaced
3646
when included in index.rst

docs/explanations/introduction.rst

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,7 @@ Essential Concepts
44
Overview
55
--------
66

7-
Kubernetes for EPICS IOCs applies modern industry standards to the management
8-
of IOCs. The same standards used by the majority of micro-service and
9-
SOA applications today.
10-
11-
There are 5 themes to this strategy:
12-
13-
:Containers​:
14-
Package IOC software and execute it in a lightweight virtual environment​.
15-
16-
:Kubernetes​:
17-
Centrally orchestrate all IOCs at a facility.
18-
19-
:Helm Charts​:
20-
Deploy IOCs into Kubernetes with version management​.
21-
22-
:Repositories​:
23-
Source, container and helm repositories manage all of the above assets. No shared file systems required.​
24-
25-
:Continuous Integration / Deployment​:
26-
Source repositories automatically build assets from source when it is updated. And potentially deploy to Kubernetes.​
7+
.. include:: overview.rst
278

289
See below for more detail on each of these.
2910

@@ -146,7 +127,7 @@ The 3 classes of repository are as follows:
146127
:Source Repository:
147128
- Holds the source code but also provides the
148129
Continuous Integration actions for testing, building and publishing to
149-
the following 2 repositories. These have been tested:
130+
the image / helm repositories. These have been tested:
150131

151132
- github
152133
- gitlab (on prem)
@@ -201,7 +182,7 @@ There are these types of CI:
201182

202183
Scope
203184
-----
204-
This project currently targets the low hanging fruit of x86_64 Linux Soft
185+
This project initially targets the low hanging fruit of x86_64 Linux Soft
205186
IOCs only.
206187

207188
Other linux architectures could be added to the Kubernetes cluster.
@@ -213,6 +194,8 @@ because windows containers require a windows host.
213194
Hard IOCs will not be supported in their current form. Perhaps there is a
214195
future possibility of turning hard IOCs remote devices.
215196

197+
Note that OPI is also out of scope for this initial phase. See
198+
`no_opi`
216199

217200
Additional Tools
218201
----------------
@@ -222,10 +205,13 @@ k8s-epics-utils
222205
The project k9s-epics utils contains a script to add simple command
223206
line functions for deploying and monitoring IOCs.
224207

208+
See `CLI` for details.
209+
225210
It also provides a Dockerfile for building a personal developer image
226211
allowing a developer to work on support modules or IOCs anywhere.
227212

228-
See the repository documentation (TODO)
213+
TODO provide documentation for the developer image.
214+
229215

230216
Ibek
231217
~~~~

docs/explanations/kubernetes_cluster.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Kubernetes Cluster Config
44
Cluster Options
55
---------------
66

7-
Three cluster topology approaches were considered for this project.
7+
Three cluster topologies were considered for this project.
88

99
:Cluster per beamline:
1010
This could be as simple as
@@ -35,6 +35,7 @@ Three cluster topology approaches were considered for this project.
3535
how to achieve this.
3636

3737

38+
.. _argus:
3839

3940
DLS Argus Cluster
4041
-----------------

docs/explanations/overview.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../overview.rst

docs/explanations/strategy.rst

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

docs/explanations/whats_in.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ By way of example we will include a full implementation of the
1010
test beamline BL45P at Diamond Light Source.
1111

1212
The benefit of this is that it will be live and constantly kept up to date with
13-
the latest developments. Also proven to work (**TODO** ref documentation on the
14-
DLS beamline Kubernetes infrastructure)
13+
the latest developments. Also proven to work, see `argus` for details of the
14+
DLS cluster which hosts this beamline.
1515

1616
The downside is that it will only serve as an example; those without access
1717
to the beamline will not be able to run the code without getting errors.
1818

19-
**TODO**: supply a demo beamline that is based purely on simulated devices
19+
**TODO**: we will supply a demo beamline that is based purely on simulated devices
2020
so that anyone can experiment with Kubernetes for EPICS IOCs, this will be
2121
used in the tutorials to walk through deployment.
2222

@@ -75,7 +75,7 @@ e.g.
7575
:epics:
7676
this prefix is for images that are nodes in the network of
7777
image dependencies.
78-
e.g. epics-base, epics-adcore
78+
e.g. epics-base, epics-areadetector
7979

8080
:iocs:
8181
this prefix is for images that are leaves in the network of

docs/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:end-before: when included in index.rst
33

44
How the documentation is structured
5-
-----------------------------------
5+
===================================
66

77
.. rst-class:: columns
88

@@ -55,7 +55,6 @@ About the documentation
5555
:maxdepth: 1
5656

5757
explanations/introduction
58-
explanations/strategy
5958
explanations/whats_in
6059
explanations/net_protocols
6160
explanations/kubernetes_cluster

docs/overview.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../overview.rst

docs/reference/faq.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Frequently Asked Questions
22
==========================
33

4+
.. _no_opi:
5+
46
Why no mention of Operator Interfaces?
57
--------------------------------------
68
OPI was out of scope for the proof of concept. That is because we

0 commit comments

Comments
 (0)