Skip to content

Commit 19cedfb

Browse files
author
Vadym Mudryi
committed
Updated README
1 parent 3edb759 commit 19cedfb

File tree

2 files changed

+37
-3
lines changed

2 files changed

+37
-3
lines changed

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,35 @@
1-
# General information
2-
31
# !!! Work in progress
42

3+
Not all features available in docker swarm solution are supported now.
4+
5+
Limitations:
6+
- Only manual helm installation and upgrade
7+
- Manual initial users configuration for minio, mongodb, elastic search
8+
- No data reset feature
9+
10+
# General information
11+
512
Repository to store infrastructure code for OpenCRVS deployment
613

14+
15+
# OpenCRVS on Kubernetes
16+
17+
## Kubernetes cluster Prerequisites
18+
19+
### Storage
20+
21+
Storage class with encryption or respective encryption is implemented at filesystem level:
22+
- For existing OpenCRVS installations make sure cluster has at least `hostpath` storage class configured and directories on file system are pointed to encrypted partitions. `hostpath` is the best option for drop-in replacement docker swarm to kubernetes, data will not be touched in that case. Later data can be migrated to more robust storage, e/g `local` or `nfs` volumes.
23+
- For new installations please check available options at official documentation [[1]](https://kubernetes.io/docs/concepts/storage/volumes/), [[2]](https://kubernetes.io/docs/concepts/storage/storage-classes/#provisioner). Recommended storage class for new installations is NFS.
24+
25+
Please also check all available options for CSI at: https://github.com/kubernetes-csi/
26+
27+
**NOTE:** Depending on available hardware resources it is also possible to optimize installation by splitting data into different types of volumes, e/g `hostpath` works better for Elasticsearch, while `NFS` is best option for `minio` and `mongo` (`postgres`)
28+
29+
30+
31+
# Links
32+
33+
[1] https://kubernetes.io/docs/concepts/storage/volumes/
34+
35+
[2] https://kubernetes.io/docs/concepts/storage/storage-classes/#provisioner

charts/opencrvs-services/TODO.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,9 @@ Automatically issue SSL secret for traefix, check possibility to issue valid SSL
6161
1. Fix events
6262
2. Fix clients:
6363
- [16:11:44.470] ERROR: Failed to connect to MongoDB. Retrying...
64-
- HTTP 500 https://config.opencrvs.localhost/publicConfig
64+
- HTTP 500 https://config.opencrvs.localhost/publicConfig
65+
66+
67+
# Check
68+
69+
- https://kubernetes.io/docs/concepts/storage/volumes/#image

0 commit comments

Comments
 (0)