[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[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.
>
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffiles.eprints.org%2F2454%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984533413%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=S6LG%2FcmRkW%2FQkpS1b2jbo6zPf%2FTW33U8u9o5mxuhNMI%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffiles.eprints.org%2F2454%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=1yRAWu2Qvimyn6k63xVKZejJh9tagLVKuJ8S6FtKwRE%3D&reserved=0>
> (might be a bit outdated, I may well have a better version lying around.)
>
> Justin
>
> *From: *eprints-tech-bounces at ecs.soton.ac.uk
> <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Christopher
> Gutteridge via Eprints-tech <eprints-tech at ecs.soton.ac.uk>
> *Date: *Friday, 22 October 2021 at 12:33
> *To: *eprints-tech at ecs.soton.ac.uk <eprints-tech at ecs.soton.ac.uk>
> *Subject: *[EP-tech] Kubernetes and EPrints
>
> I've a bunch of "microrepositories" on ancient linux that need moving to
> new hosting. eg.
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frefrain.ac.uk%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rTtRi7lUPehhy45FC4HuIWsa2bCPacU9lfvakSPfPYs%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frefrain.ac.uk%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rTtRi7lUPehhy45FC4HuIWsa2bCPacU9lfvakSPfPYs%3D&reserved=0>
>
> I'm wondering if Kubernetes might be more appropriate than a VM for
> these minor sites?
>
> Anyone got any insight?
>
>
> --
> Christopher Gutteridge <totl at soton.ac.uk>
> You should read our team blog at http://blog.soton.ac.uk/webteam/
> <http://blog.soton.ac.uk/webteam/>
> (I live near Highfield Campus, so in person, outdoor and socially
> distanced meetings are an option)
>
> *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> <http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech>
> *** Archive:
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=EmyyM7phe3au%2FOHsbuU8RbSTPJMRH%2ByTJSjQs4jri1Q%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=EmyyM7phe3au%2FOHsbuU8RbSTPJMRH%2ByTJSjQs4jri1Q%3D&reserved=0>
> *** EPrints community wiki:
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pRJh%2BT5rg%2Fy%2BAL1%2B1xGPOvYtOwF4wBjW0%2BgQmZi41lI%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pRJh%2BT5rg%2Fy%2BAL1%2B1xGPOvYtOwF4wBjW0%2BgQmZi41lI%3D&reserved=0>
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=EmyyM7phe3au%2FOHsbuU8RbSTPJMRH%2ByTJSjQs4jri1Q%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pRJh%2BT5rg%2Fy%2BAL1%2B1xGPOvYtOwF4wBjW0%2BgQmZi41lI%3D&reserved=0
--
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C5fb2a16d30444e04d33608d99934421e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637709271984543372%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=92n1XSloFAWE8mGlAD%2B2g4usuJuP6B00vTre4a%2FedKU%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20211027/b6ff8d9c/attachment-0001.html