XWiki OKD / OpenShift Deployment
Find a file
2025-06-13 11:57:04 +02:00
helm-install start use helm based install 2025-06-13 11:57:04 +02:00
keycloak Add KeyCloak config 2022-05-09 13:47:48 +02:00
kustomize start use helm based install 2025-06-13 11:57:04 +02:00
.gitignore start use helm based install 2025-06-13 11:57:04 +02:00
Dockerfile.solr missing x 2022-04-27 16:49:33 +02:00
Dockerfile.xwiki start use helm based install 2025-06-13 11:57:04 +02:00
make-xwiki-solr.sh correct bug in solr import 2022-05-03 13:33:10 +02:00
README.md doc changes 2022-04-27 17:48:06 +02:00

XWiki OKD

XWiki OKD / OpenShift Deployment

  • in 3 pods:
    • xwiki on tomcat
    • solr
    • postgresql
  • uses the original XWiki and SOLR images
  • Openshift / OKD secure deployment

Build

oc login api.mycluster.net:6443
oc project my-xwiki-project
kustomize build kustomize/openshift-build | oc apply -f -

Run

  • Copy kustomize/instancetemplate/* to your own instance dir
  • adapt kustomize/myinstance/kustomization.yaml
  • run kustomize build kustomize/myinstance/kustomization.yaml | oc apply -f -

Edit config files

XWIKIPOD=$(oc get pod -l app=xwiki,app.kubernetes.io/part-of=pp1 -o name| cut -d/ -f2)
oc cp $XWIKIPOD:/usr/local/xwiki/data/xwiki.cfg xwiki.cfg
oc cp $XWIKIPOD:/usr/local/xwiki/data/xwiki.properties xwiki.properties

Then edit the files and push them back to the container.

XWIKIPOD=$(oc get pod -l app=xwiki,app.kubernetes.io/part-of=pp1 -o name| cut -d/ -f2)
oc cp xwiki.cfg $XWIKIPOD:/usr/local/xwiki/data/xwiki.cfg
oc cp xwiki.properties $XWIKIPOD:/usr/local/xwiki/data/xwiki.properties

If you change the deployment you have to take care about the configurations in the config files!

ToDo

  • feedback to xwiki-docker team (access rights in container, nonroot)
  • optimize handling of config files
  • JGROUPS implementation for upscaling
  • extensive testing

Peter Pfläging <peter@pflaeging.net>