Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion charts/n8n/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,12 @@ keda:
triggers:
- type: redis
metadata:
listName: "bull:default:wait"
listName: "bull:jobs:wait"
listLength: "5"
```

The `listName` is the Bull waiting-list key, `<prefix>:jobs:wait`, where the prefix defaults to `bull`. If you set `redis.prefix`, update `listName` to match (e.g. `myprefix:jobs:wait`), otherwise the scaler polls a key n8n never writes to and queue-depth autoscaling won't fire.

See [keda-autoscaling.yaml](./examples/keda-autoscaling.yaml) for a complete example.

## Upgrading
Expand Down
5 changes: 3 additions & 2 deletions charts/n8n/examples/keda-autoscaling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ keda:
metadata:
# Leave empty to auto-derive from redis.host:redis.port
address: ""
# Bull queue key for waiting jobs
listName: "bull:default:wait"
# Bull queue key for waiting jobs: "<prefix>:jobs:wait" (prefix defaults
# to "bull"). If you set redis.prefix, update this to "<prefix>:jobs:wait".
listName: "bull:jobs:wait"
# Scale up when queue length exceeds 5 per replica
listLength: "5"
authenticationRef:
Expand Down
7 changes: 4 additions & 3 deletions charts/n8n/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,9 @@ keda:
metadata:
# Redis address (auto-derived from redis.host:redis.port if empty)
address: ""
# Bull queue waiting list key
listName: "bull:default:wait"
# Bull queue waiting list key: "<prefix>:jobs:wait" (prefix defaults to
# "bull"). If you set redis.prefix, update this to match, e.g. "myprefix:jobs:wait".
listName: "bull:jobs:wait"
Comment thread
cubic-dev-ai[bot] marked this conversation as resolved.
# Target queue length per worker replica
listLength: "5"
authenticationRef:
Expand Down Expand Up @@ -638,7 +639,7 @@ redis:
# Advanced Redis settings
database: 0 # <-- Redis database number
timeout: 10000 # <-- Redis timeout threshold (ms)
prefix: "" # <-- Queue key prefix
prefix: "" # <-- Queue key prefix (if set, update keda.worker.triggers listName to "<prefix>:jobs:wait")
tls: false # <-- Enable TLS (required for AWS ElastiCache and other managed Redis services)
dualstack: false # <-- Enable dual-stack (IPv4/IPv6)
# Redis Cluster support (comma-separated list of host:port)
Expand Down
Loading