[opencms-dev] OCEE in Kubernetes Cluster

Jensen Asger asger.jensen at solteq.com
Fri Feb 25 10:33:46 CET 2022


Hi,

We did something similar to that. You have to configure the cluster using the Jgroups Kubernetes ping configuration and add the necessary service accounts etc to your kubernetes cluster.

https://github.com/jgroups-extras/jgroups-kubernetes

We are using the "one db, one workspace server, a set of clients" setup (i forget what it is called).

For "reasons", we did not want persistent storage volumes outside the database, so each "worker" is bootstrapped from scratch when it starts. This took a bit of rejiggering to get going, especially because we wanted to be able to cleanly scale the worker sets up and down, and the default scripts assumed you persisted the disk between runs. (ie in how it detects if it should run an upgrade or an install, etc)

CI wise, we build the docker container and add the various modules to it, and these are then deployed during startup. License information is then stored as a kube secret, and made available to the docker image during startup, for writing into the proper files.

Works great, but..... it would have been nice, if opencms was less reliant on random files surving between restarts. Ie if all config was data driven.



From: opencms-dev <opencms-dev-bounces at opencms.org> on behalf of martin.rosenthal--- via opencms-dev <opencms-dev at opencms.org>
Date: Friday, 25 February 2022 at 10.15
To: The OpenCms mailing list <opencms-dev at opencms.org>
Cc: martin.rosenthal at oerag.de <martin.rosenthal at oerag.de>
Subject: [opencms-dev] OCEE in Kubernetes Cluster

Hello,

As part of our IT strategy, we would like to bring our OpenCms OCEE cluster
into our Kubernetes cluster. Does the OCEE Cluster Manager support an
installation in Kubernetes? Is there any experience here? Furthermore, we
would then like to integrate OpenCms into our CI/CD pipeline and build our
own modules (JSPs and JARs with services) on a regular automated basis and
ship them to the production system. We would like to do that without using
the OpenCms GUI for manual module deployment. Do you see any possibilities
here?

Thanks a lot and regards,
Martin Rosenthal
_________________________________
Entwickler
IT-Anwendungen

Aufgrund der aktuellen Corona-Lage befinden sich einige unserer
Mitarbeiterinnen und Mitarbeiter im Homeoffice. Sie sind über die Ihnen
bekannten E-Mail-Adressen und Durchwahl- bzw. Mobilfunknummern weiterhin
erreichbar. Bitte haben Sie Verständnis dafür, dass unsere Rückmeldungen
ggf. etwas mehr Zeit in Anspruch nehmen können. Wir arbeiten service- und
kundenorientiert weiter.

Telefon: +49 211 529-5775
Telefax: +49 211 529-59775
E-Mail: Martin.Rosenthal at oerag.de
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.oerag.de%2F&data=04%7C01%7C%7C623fe8777b934cd85c2708d9f83f5e56%7C9e4eb25883584a33b3e9b734c884fc4b%7C0%7C0%7C637813773323854971%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=44zORHU2%2FSu7O3MHphobfsHaQ6MPkNqPpnnyT17Knus%3D&reserved=0

E-Mail-Newsletter "Rund um Rechtsschutz" – jetzt anmelden:
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.oerag.de%2Fnewsletter&data=04%7C01%7C%7C623fe8777b934cd85c2708d9f83f5e56%7C9e4eb25883584a33b3e9b734c884fc4b%7C0%7C0%7C637813773323854971%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=b2F%2F9UNZo2bS9Tf1z4hLW1JMhiVbv%2FOiunQ%2BEKXR4XQ%3D&reserved=0

ÖRAG Rechtsschutzversicherungs-AG
Hansaallee 199, 40549 Düsseldorf
Vorstand: Jörg Tomalak-Plönzke (Vorsitzender), Marcus Hansen, Betina Nickel
Aufsichtsratsvorsitzender: Dr. Wolfgang Breuer
Sitz der Gesellschaft: Düsseldorf, Registergericht Düsseldorf HRB 12073

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser E-Mail sind nicht gestattet.
.
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.opencms.org%2Fmailman%2Flistinfo%2Fopencms-dev&data=04%7C01%7C%7C623fe8777b934cd85c2708d9f83f5e56%7C9e4eb25883584a33b3e9b734c884fc4b%7C0%7C0%7C637813773323854971%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bcBwQjbXepOcQfMYu%2FrnuqPYG4vawj15vt%2FnFNAkJvU%3D&reserved=0


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20220225/3a215e1f/attachment.htm>


More information about the opencms-dev mailing list