You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently attached SSDs for caching purposes and enabled them by mounting the volume at /data/trino/cache. However, upon doing so, I encountered the following exception from Alluxio:
IllegalArgumentException: Cannot write to cache directory /data/trino/cache.
After some investigation, I suspect that I need to specify the fsGroup to 1000 in pod.spec.securityContext. Currently, the chart supports runAsGroup and runAsUser in securityContext:
...
{{- with .Values.securityContext }}securityContext:
runAsUser: {{ .runAsUser }}runAsGroup: {{ .runAsGroup }}{{- end }}
...
Could you please confirm if adding fsGroup: 1000 to the pod.spec.securityContext would resolve this issue? If not, any guidance on how to properly configure the security context for SSD caching would be greatly appreciated.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
Hi there!
I recently attached SSDs for caching purposes and enabled them by mounting the volume at /data/trino/cache. However, upon doing so, I encountered the following exception from Alluxio:
After some investigation, I suspect that I need to specify the fsGroup to
1000
inpod.spec.securityContext
. Currently, the chart supports runAsGroup and runAsUser in securityContext:The volume declared into pod spec:
Could you please confirm if adding fsGroup: 1000 to the
pod.spec.securityContext
would resolve this issue? If not, any guidance on how to properly configure the security context for SSD caching would be greatly appreciated.Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: