Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Image Name

registry.connect.redhat.com/joget/joget-dx7-eap7

Name

joget-dx7-eap7


Note
titleNote

Do ensure that the exposed service route is configured to:

Path → /jw

Port → 8080


Step 4: Configure Persistent Storage

...

Code Block
export PROJECT_NAME=demo # modify this to suit your project name
export APP_NAME=joget-dx7-eap7 # modify this to suit your app name

echo === configure jboss clustering ===
oc set env deployment/${APP_NAME} JGROUPS_PING_PROTOCOL=openshift.DNS_PING -e OPENSHIFT_DNS_PING_SERVICE_NAME=${APP_NAME}-ping -e OPENSHIFT_DNS_PING_SERVICE_PORT=8888 -e CACHE_NAME=http-session-cache
oc expose deployment/${APP_NAME} --port=8888 --name=${APP_NAME}-ping --cluster-ip=None

echo === assign cluster role view permission for the project service account (to read deployment info for licensing) ===
oc create clusterrolebinding default-view --clusterrole=view --serviceaccount=$PROJECT_NAME:default --namespace=$PROJECT_NAME

Note: If you already have an existing cluster and have deployed images before, it is likely that "clusterrolebinding" name of "default-view" may already be used. In this case, simply give it another meaningful name (e.g.: default-view-new)


Once the pods in the deployment have finished starting up, access the Deployment under Topology to see the running pods. You will also see a Route created for it, so click on the Location URL to access Joget.

...