Hi everyone,
In our Google k8s cluster we have n8n pods and they connect to Redis.
Sometimes the redis pod restarts for whatever reason and n8n simply can’t reconnect to it even if we use a k8s service for all our cluster connections.
I keep on seeing these errors even if the redis pod is up shortly after:
[ioredis] Unhandled error event: Error: connect ECONNREFUSED 10.4.34.46:6379
The only solution I’ve found is to actually restart the entire n8n deployment.
kubectl rollout restart deployment/n8n
Is there an automated way of doing this please?
Information on your n8n setup
- n8n version: 1.37.2
- Database (default: SQLite): Redis
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker image: n8nio/n8n:0.149.0
- Operating system: