@@ -283,6 +283,10 @@ worker:
283283 # For n8n v2.0+, you should use the separate task runner image: n8nio/runners
284284 # For n8n v1.x, leave these empty to use the main n8n image.
285285 # See: https://docs.n8n.io/2-0-breaking-changes/#remove-task-runner-from-n8nion8n-docker-image
286+ #
287+ # IMPORTANT: When using n8nio/runners image, do NOT set command/commandArgs below.
288+ # The runners image has its own launcher and doesn't use the "n8n worker" command.
289+ # The chart will automatically omit command/args when a custom image is specified.
286290 image :
287291 # For n8n v2+, set to n8nio/runners
288292 # If empty, defaults to .Values.image.repository (n8nio/n8n)
@@ -395,19 +399,15 @@ worker:
395399 # command: ["/bin/sh", "-c", "apk add mysql-client"]
396400
397401 # here you can override a command for worker container
398- # it may be used to override a starting script (e.g., to resolve issues like https://github.com/n8n-io/n8n/issues/6412) or
399- # run additional preparation steps (e.g., installing additional software)
402+ # IMPORTANT: When using n8nio/runners (n8n v2), do NOT set this. The runners image
403+ # has its own launcher. Only set this for custom configurations.
404+ # For n8n v1 workers, the default is ["n8n"] which is set automatically.
400405 command : []
401406
402- # sample configuration that overrides starting script and solves above issue (also it runs n8n as root, so be careful):
403- # command:
404- # - tini
405- # - --
406- # - /bin/sh
407- # - -c
408- # - chmod o+rx /root; chown -R node /root/.n8n || true; chown -R node /root/.n8n; ln -s /root/.n8n /home/node; chown -R node /home/node || true; node /usr/local/bin/n8n
409-
410407 # command args
408+ # IMPORTANT: When using n8nio/runners (n8n v2), do NOT set this. The runners image
409+ # manages its own process. Only set this for custom configurations.
410+ # For n8n v1 workers, the default is ["worker", "--concurrency=X"] which is set automatically.
411411 commandArgs : []
412412
413413 # here you can override the livenessProbe for the main container
0 commit comments