Does anyone have a way to install Joget DX8 on Kubernetes that works?

Confluence User - 27 Jun, 2023

The instructions in Jogeton Kubernetes don't work.

After running the kubectl apply for joget-dx8-tomcat.yaml, the pod generates megabytes per second of error exceptions in the log, all from trying to access the wrong IP addresses.

The /jw/setup screen comes up after you manually fix the invalid ingress definition, but the PVs don't work, so I am guessing it can't store the database configuration, even though it correctly creates schema and tables, using either PostgreSQL or MySQL.

installation

3


27 Jun, 2023
confluenceUser
confluenceUser

Did you follow this guide?

I think the mysql-deployment.yaml file uses mysql 5.6, and when I tried to modify that to use mysql 8.0, it worked.

BTW if you are not using "default" namespace to run Joget, then you need to modify the "ClusterRoleBinding" kind in the joget-dx8-tomcat9-deployment.yaml file. Update the namespace according to your environment.

27 Jun, 2023
confluenceUser
confluenceUser

THANKS!

Fixing the ClusterRoleBinding got me to the next issue that needs fixing. We are using our own namespace.

13 Jul, 2023
confluenceUser
1
confluenceUser

I found and worked around the issue.

A post on one of the SM sites mentioned that fsGroup and securityContext in Kubernetes only works for emptyDir volume mounts. HostPath persistent volumes are created as root with 0600 for chmod permissions, and most implementations of Pod Security Policies, and apparently the later Pod Security Admission, ignore fsGroup changes on such PVs (chown and chmod just no-op and ignore the request).

The workaround is to remove the hostPath definition that created the pod folder /mnt/data from the PV resource. That let me configure the database and get to the home screen. Connecting to the pod showed the permissions on the mounted PV were correct.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print