How to set SecurityContext

we are trying to doploy the Pega Platform '23 on GKE.
now there is the issue, batch/web pods keep crashloopbackoff.
i checked the log of the the the contianer of pods (which is using my-page:8.23.1 imagge)
the error message is
mkdir: cannot create directory ‘decompressed_root’: Permission denied
To address this i checked the seruity context section of helm chart (pega.yaml)
no matter comment out or set it as
securityContext:
runAsUser: 9001
fsGroup: 0

the error remains

Pls let us know if we are missing anything.
Thanks in advance.

@RyosukeS0239 The error message you’re seeing indicates a permission issue when trying to create a directory. This could be due to the security context settings in your Kubernetes environment. The Pega Platform Docker image should be run as a non-root user using a custom security context. If you’re encountering an error specifying the User ID, you should contact the provider of your environment. Also, ensure that your environment meets the requirements mentioned in the service deployment guidelines, such as the ability to run as a specific user or using privileged commands.

:warning: This is a GenAI-powered tool. All generated answers require validation against the provided references

Meeting requirements and prerequisites > Service deployment guidelines

Deployment requirements for client-managed cloud

If you still encounter issues please log a support incident and let us know the ticket id here so we can help track it.

@MarijeSchillern

Thank you for your reply.

I had tried deployment by using the latest containaer version at 8.23.1, then I could do it without above error.

Regards.