inveniosoftware / helm-invenio

Helm charts for deploying an Invenio instance
https://helm-invenio.readthedocs.io
7 stars 19 forks source link

move nginx as sidecar container and use emptyDir to share assets #9

Closed ppanero closed 4 years ago

ppanero commented 4 years ago

At the moment the initContiner is launched once per pod. Which means that if there are 6 web pods the assets will be copied 6 times. This is not an issue since OpenShift provides a distributed locking system and all pod's assets are the same. This will be improved by adding nginx as a sidecar container and using an emptyDir instead of a volume.

ppanero commented 4 years ago

Closed in #8