Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -61,9 +61,9 @@ 61 61 62 62 === Adding support for clustering,HA and Unit testing === 63 63 64 -* Migrated fromStatefulset to Deployment65 -* AddedClusteringfeatureockerproject66 -* AddedClusteringfeature to helm project67 -* Can add JGroup config file throughconfigMaps68 -* UnitTesting69 -* AddedLiveliness andReadinessProbes64 +* While moving towards HA and clustering we got to know that Xwiki need shared file storage for clustering which was not available in StatefulSet, so we made a desicion to migrate to Deployment. 65 +* We needed to add test-cases so I added unit-testing. 66 +* Clustering was required to take xwiki on HA. For that we need docker to enable option to configure clustering, so first I made changes in docker project and provided option to configure JGroups. 67 +* Then I needed to provide the option in helm. For that I had to face another challenge to how to pass configuration files needed by JGroup from my helm chart to the container. For that I took the file in ConfigMaps and mounted the file to the xwiki pods. Also provided option to enable and disable JGroups. 68 +* While enabling clustering we need to know which pods are avialable to accept request and which are dead so that we can route traffic accordingly, for that I needed to configure liveliness and readiness probes, so that kubernetes always get updated with the state of the container and if the container crashes it could restart the pod. 69 +* Xwiki uses solr and the docker it embededs solr internally, but as suggested by Xwiki for performance improvement solr should be externalised, so I tried to add it as a dependency but failed due to an immature helm chart of solr, and how the xwiki configures solr, it was not possible with the current solr chart state. So for now I have exposed the basic parameter and the user has to manually setup solr and pass the url of the solr.