Skip to content

Commit e271218

Browse files
committed
openshift requirements
1 parent 107a140 commit e271218

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

docs/administering_lagoon/install.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Lagoon is not only capable to deploy into OpenShift, it actually runs in OpenShi
44

55
Luckily we can use the local development environment to kickstart another Lagoon in any OpenShift, running somewhere in the world.
66

7+
Check the [Requirements for OpenShift by Lagoon](/administering_lagoon/openshift_requirements.md) before continuing.
8+
79
This process consists of 3 main stages, which are in short:
810

911
1. Configure existing OpenShift
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# OpenShift Requirements by Lagoon
2+
3+
Lagoon tries to run on a standard installation of OpenShift as possible, but it expects some things:
4+
5+
6+
### OpenShift Version
7+
8+
Currently Lagoon is tested and supported with OpenShift 3.9.
9+
10+
### Permissions
11+
12+
In order to setup Lagoon in an OpenShift you need a cluster-admin account to run the initial setup via `make lagoon-kickstart`. With this Lagoon will create it's own Roles and Permissions and the cluster-admin is not needed anymore.
13+
14+
### PV StorageClasses
15+
16+
For deployment projects by Lagoon the following StorageClasses will be needed:
17+
18+
| Name | Used for | Description |
19+
| -----| ------ |------|
20+
| default | Single Pod mounts (mariadb, solr) | The default StorageClass will be used for any single pod mounts like mariadb, solr, etc. Suggested to use SSD based Storage |
21+
| `bulk` | multi pod mounts (drupal files) | `bulk` StorageClass will be used whenever a project requests storage that needs to be mounted into multiple pods at the same time. Like nginx-php-persistent which will mount the same PVC in all nginx-php pods. Suggested to be on SSD but not required. |
22+
23+
Lagoon itself will create PVCs with the following StorageClasses:
24+
25+
| Name | Used for | Description |
26+
| -----| ------ |------|
27+
| `lagoon-elasticsearch` | `logs-db` | `logs-db` will create PVCs with the storageClass name `lagoon-elasticsearch` for persistent storage of the elasticsearch. Standard deployments of `logs-db` create an Elasticsearch Cluster with 3 `live` nodes. Strongly suggested to be on SSD. |
28+
| `lagoon-logs-db-archive` | `logs-db` | Beside the `live` nodes, `logs-db` also creates 3 `archive` nodes. These are used for elasticsearch data which is older than 1 month. Therefore it should be much bigger than `lagoon-elasticsearch` but can run on regular HDD. |
29+
| `lagoon-logs-forwarder` | `logs-forwarder` | Used by `logs-forwarder` fluentd to provide a persistent buffer. Default configurations of Lagoon create 3 `logs-forwarder` pods. Preferred to be on SSD, but not needed. |
30+

mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ pages:
3535
- From amazee.io: using_lagoon/migrations/amazeeio.md
3636
- Administration:
3737
- Installing Lagoon: administering_lagoon/install.md
38+
- OpenShift Requirements: administering_lagoon/openshift_requirements.md
3839
- GraphQL API: administering_lagoon/graphql_api.md
3940
- Development:
4041
- Developing Lagoon: developing_lagoon/index.md

0 commit comments

Comments
 (0)