n8n on k8s using a multi stage build
worked perfectly fine on local
her eon k8s python node seems to work OK but JS one times out
any help please in this regard?
Your Code node task was not matched to a runner within the timeout period. This indicates that the task runner is currently down, or not ready, or at capacity, so it cannot service your task.
If you are repeatedly executing Code nodes with long-running tasks across your instance, please space them apart to give the runner time to catch up. If this does not describe your use case, please open a GitHub issue or reach out to support.
If needed, you can increase the timeout using the N8N_RUNNERS_TASK_REQUEST_TIMEOUT environment variable.
Hey @adarsh-lm, could you share the Docker logs from when your instance started? Usually, if there are issues with your runners, the logs show them during startup.
It seems that an internal module (@n8n/di) is missing. There could be several reasons for this. First, try upgrading the Node.js version. If that does not resolve the issue, we will need to narrow down the possibilities, so please also share the file you used to deploy the runner.
I needed extra dependencies which could not be copied into /node_modules so in the earlier dockerfile made a clean deletion of directory and then copied. this is where inbuilt dependencies were wiped off causing the issue
Updated the implementation to instead copy extra deps to a different directory and point is as a path for node_modules
fixed, thank you!
moving from local to k8s is so much more complex than I thought. The podman local → bitbucket pipelines docker does not always result in a seamless transition