EPrints Technical Mailing List Archive

Message: #08784


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Kubernetes and EPrints


Hi Chris,

Kubernetes and Docker are similar in some ways but also have some significant differences. I can see where Docker would be useful for managing half a dozen or so microrepositories you may have sitting around.  As it allows you to have the repository isolation, (e.g. each Docker container has its own /opt/eprints3) but you don't have to expend as much resource as having VMs for each microrepository which may need 2GB each.  A VM with Docker containers may allow you to get away with only 4GB of RAM and one maybe two CPU cores.  Kubernetes seems overly complex unless you have dozens of microrepositories (and/or regularly have churn or microrepositories being hosted), or have a need for high availability. 

As EPrints is rarely deployed as high availability (e.g. multiple instances behind a load balancer), I am not sure how well it would work on a Kubernetes platform, if you separated the web frontend (Apache/Perl) from the database backend / scheduled tasks (bin scripts) and only had high-availability with the former, I don't see any specific issues but the backend database may not be so straightforward to configure for high-availability.  It would be useful to hear the experiences from anyone who has deployed a coventional high availability setup that includes a database cluster at the backend.  It is certainly possible to host an application that was not specifically designed to be high availability to run off a database cluster but I suspect there would likely be teething problems doing this with EPrints.

Regards

David Newman

On 27/10/2021 09:22, Justin Bradley via Eprints-tech wrote:

I’ve not tried Kubernetes, but have had success with Docker, if that’s helpful.

http://files.eprints.org/2454/ (might be a bit outdated, I may well have a better version lying around.)

 

                Justin

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Christopher Gutteridge via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
Date: Friday, 22 October 2021 at 12:33
To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Kubernetes and EPrints


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

Virus-free. www.avg.com