-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
n8n fails to start with read-only root filesystem (like you would use in kubernetes clusters) due to cache directory: #8367
Comments
Hey @brokenjacobs, I don't fully understand what the issue is here, We run n8n as the Is there a reason why the the node directory would be restricted? Perhaps someone that knows more about k8s will be able to chip in on this one. |
The main API server needs |
That said, n8n does not support fully read-only filesystems, and expects certain paths to always be writable. |
So the issue here is not that a read/write emptydir volume cannot be mounted, the issue is that the helm chart doesn't support adding volume mounts to the containers. Not allowing for readonly root fs, securitycontext, running as non-root, etc is an issue in many enterprise environments. Normally this is done by adding 'extraVolumes' 'extraVolumeMounts' or something similar to the helm chart. |
Originally here:
8gears/n8n-helm-chart#65
And interestingly enough as a 'worker' the cache directory is not used:
The text was updated successfully, but these errors were encountered: