Install Joget DX8 on AWS EKS?

Confluence User - 28 Jun, 2023

Looking at the installers for Joget on Kubernetes, Joget on GKE, and Joget on Azure, there are obviously hacks to get around file permissions in /opt/joget in GKE and Azure.

Has anyone installed in EKS? 

Joget on Kubernetes doesn't work, even when I copy the GKE chmod hack from the GKE installer.

installation

3


01 Jul, 2023
confluenceUser
1
confluenceUser

Hi, if you are using EFS as the shared storage then you may want to try the suggestion from https://devops.stackexchange.com/questions/13939/how-to-allow-a-non-root-user-to-write-to-a-mounted-efs-in-eks/13944#13944 to use EFS access points?

13 Jul, 2023
confluenceUser
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.

14 Jul, 2023
confluenceUser
confluenceUser

Great to hear that it's working now. Would you mind sharing the sample YAML configuration for this? It would be interesting to know what the actual configuration is like.


RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print